private static Options getOptions() {
    Options options = new Options();
    options.addOption(new Option("c", ChaosServiceName.CHAOSAGENT.toString().toLowerCase(), true,
      "expecting a start/stop argument"));
    options
      .addOption(new Option("D", ChaosServiceName.GENERIC.toString(), true, "generic D param"));
    LOG.info(Arrays.toString(new Collection[] { options.getOptions() }));
    return options;
  }
Class used to start/stop Chaos related services (currently chaosagent)
hbase-it/src/main/java/org/apache/hadoop/hbase/chaos/ChaosService.java