question: private static void exit ( String errMsg , Options options , int exitCode ) { if ( errMsg != null ) echo ( "ERROR: " + errMsg ) ; String runner = System . getProperty ( IGNITE_PROG_NAME , "randignite.{sh|bat}" ) ; int space = runner . indexOf ( ' ' ) ; runner = runner . substring ( 0 , space == - 1 ? runner . length ( ) : space ) ; if ( options != null ) { HelpFormatter formatter = new HelpFormatter ( ) ; formatter . printHelp ( runner , options ) ; } System . exit ( exitCode ) ; }
target:  Exists with optional error message, usage show and exit code.