ParsedOutput parsedOpts = null;
try {
ArgumentParser argHolder = new ArgumentParser(args);
parsedOpts = argHolder.parse();
if (parsedOpts.shouldOutputHelp()) {
parsedOpts.outputHelp();
return 1;
}
} catch (Exception e) {
LOG.error("Unable to parse arguments due to error: ", e);
return 1;