@ Override public List < Option > getCommandLineOptions ( ) { final List < Option > ret = new LinkedList < Option > ( ) ; String help ; help = TIME_HELP ; ret . add ( new Option ( SHORT_OPT_TIME , LONG_OPT_TIME , false , help ) ) ; help = WARNINGS_AS_ERRORS ; ret . add ( new Option ( null , LONG_OPT_PEDANTIC , false , help ) ) ; help = SYSTEM_CONFIG_PATH ; Option o = new Option ( SHRT_OPT_SYSCFG , LONG_OPT_SYSCFG , true , help ) ; o . setArgName ( ARG_SYSCFG ) ; ret . add ( o ) ; return ret ; }
Returns a list of phase - agnostic command - line options .