new Parameter[] {
new FlaggedOption( "count", JSAP.INTEGER_PARSER, "1", JSAP.REQUIRED, 'n', JSAP.NO_LONGFLAG,
"The number of times to say hello." ),
new QualifiedSwitch( "verbose", JSAP.STRING_PARSER, JSAP.NO_DEFAULT, JSAP.NOT_REQUIRED, 'v', "verbose",
"Requests verbose output." ).setList( true ).setListSeparator( ',' ),
new UnflaggedOption( "name", JSAP.STRING_PARSER, "World", JSAP.REQUIRED, JSAP.GREEDY,
"One or more names of people you would like to greet." )
}
);
JSAPResult config = jsap.parse(args);