private boolean isHelpCommand(String[] args) throws ParseException {
    Options helpOption = new Options().addOption(HELP_OPTION);
    // this parses the command line but doesn't throw an exception on unknown options
    CommandLine cl = new DefaultParser().parse(helpOption, args, true);
    return cl.getOptions().length != 0;
  }
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