code: private static boolean parseInputArgs(String[] args) {
      CommandLineParser parser = new DefaultParser();
      CommandLine cmd;
      try {
        cmd = parser.parse(OPTIONS, args);
      } catch (ParseException e) {
        System.out.println("Failed to parse input args: " + e);
        return false;
      }
      sHelp = cmd.hasOption("help");
      sJournalDirectoryV0 = cmd.getOptionValue("journalDirectoryV0",
          ServerConfiguration.get(PropertyKey.MASTER_JOURNAL_FOLDER));
      return true;
    }
docs: Parses the input args with a command line format, using
  {@link org.apache.commons.cli.CommandLineParser}.
  
  @param args the input args
  @return true if parsing succeeded