@ SuppressWarnings ( "static-access" ) private void gatherStandardOptions ( final Options options ) { options . addOption ( OptionBuilder . withArgName ( "p" ) . withDescription ( "Path to property file; default is jqassistant.properties in the class path" ) . withLongOpt ( "properties" ) . hasArg ( ) . create ( "p" ) ) ; options . addOption ( new Option ( "help" , "print this message" ) ) ; }
Gathers the standard options shared by all tasks .