protected CommandLine parseArgs(String[] args) throws ParseException {
    options.addOption(SHORT_HELP_OPTION, LONG_HELP_OPTION, false, "Show usage");
    addOptions();
    CommandLineParser parser = new BasicParser();
    return parser.parse(options, args);
  }
Create the parser to use for parsing and validating the command line. Since commons-cli lacks
the capability to validate arbitrary combination of options, it may be helpful to bake custom
logic into a specialized parser implementation. See LoadTestTool for examples.
@return a new parser specific to the current tool
hbase-common/src/main/java/org/apache/hadoop/hbase/util/AbstractHBaseTool.java