public void printCliUsage() {
    new HelpFormatter().printHelp("hive", options);
  }
This class is used for parsing the options of Hive Cli
beeline/src/java/org/apache/hive/beeline/cli/CliOptionsProcessor.java