@Override
    public int run(String[] args) throws Exception {
      HBaseFsck hbck = new HBaseFsck(getConf());
      hbck.exec(hbck.executor, args);
      hbck.close();
      return hbck.getRetCode();
    }
This is a Tool wrapper that gathers -Dxxx=yyy configuration settings from the command line.
hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java