public static LlapStatusServiceCommandLine parseArguments(String[] args) {
    LlapStatusServiceCommandLine cl = null;
    try {
      cl = new LlapStatusServiceCommandLine(args);
    } catch (Exception e) {
      LOGGER.error("Parsing the command line arguments failed", e);
      printUsage();
      System.exit(ExitCode.INCORRECT_USAGE.getCode());
    }

    if (cl.isHelp()) {
      printUsage();
      System.exit(0);
    }

    return cl;
  }
Parses, verifies, prints and provides the command line arguments of the Llap Status program.
llap-server/src/java/org/apache/hadoop/hive/llap/cli/status/LlapStatusServiceCommandLine.java