Parser optionParser = new BasicParser();
CommandLine commandLine;
try {
commandLine = optionParser.parse(options, args);
} catch (ParseException e) {
throw new ParametersParseException(e);
}
if (commandLine.hasOption('h')) {
printHelp();
} else {
String verbosity = commandLine.getOptionValue('v');