final CommandLineParser parser = new PosixParser();
final CommandLine cmd;
try {
cmd = parser.parse(options, args);
if (cmd.getArgs().length > 0) {
throw new UnrecognizedOptionException(
"Extra arguments were provided in "
+ Arrays.asList(args));
}
} catch (final ParseException e) {
printHelp(options,