code: public static void executeHelp(String[] args, PrintStream stream) throws Exception {
          String subCmd = (args.length > 0) ? args[0] : "";
          if(subCmd.equals("query-keys")) {
              SubCommandDebugQueryKeys.printHelp(stream);
          } else if(subCmd.equals("route")) {
              SubCommandDebugRoute.printHelp(stream);
          } else {
              printHelp(stream);
          }
      }
docs: Parses command-line input and prints help menu.
  
  @throws Exception