* @param args
* the args
*/
private static void parseCommand(String[] args)
{
Parser parser = new Parser();
// configure a HelpFormatter
HelpFormatter hf = new HelpFormatter();
DefaultOptionBuilder oBuilder = new DefaultOptionBuilder();
;
// configure a parser
Parser p = new Parser();
p.setGroup(group);
p.setHelpFormatter(hf);
p.setHelpOption(oBuilder.withLongName("help").withShortName("?").create());
cl = p.parseAndHelp(args);
// abort application if no CommandLine was parsed
if (cl == null)
{
System.exit(-1);