@Override
    public int compare(Option o1, Option o2) {
      return optionsOrder.get(o1) - optionsOrder.get(o2);
    }
Common base class used for HBase command-line tools. Simplifies workflow and command-line
argument parsing.
hbase-common/src/main/java/org/apache/hadoop/hbase/util/AbstractHBaseTool.java