MCPcopy
hub / github.com/OpenTSDB/opentsdb / addCommon

Method addCommon

src/tools/CliOptions.java:36–52  ·  view source on GitHub ↗

Adds common TSDB options to the given argp.

(final ArgP argp)

Source from the content-addressed store, hash-verified

34
35 /** Adds common TSDB options to the given {@code argp}. */
36 static void addCommon(final ArgP argp) {
37 argp.addOption("--table", "TABLE",
38 "Name of the HBase table where to store the time series"
39 + " (default: tsdb).");
40 argp.addOption("--uidtable", "TABLE",
41 "Name of the HBase table to use for Unique IDs"
42 + " (default: tsdb-uid).");
43 argp.addOption("--zkquorum", "SPEC",
44 "Specification of the ZooKeeper quorum to use"
45 + " (default: localhost).");
46 argp.addOption("--zkbasedir", "PATH",
47 "Path under which is the znode for the -ROOT- region"
48 + " (default: /hbase).");
49 argp.addOption("--config", "PATH",
50 "Path to a configuration file"
51 + " (default: Searches for file see docs).");
52 }
53
54 /** Adds a --verbose flag. */
55 static void addVerbose(final ArgP argp) {

Callers 7

mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95

Calls 1

addOptionMethod · 0.80

Tested by

no test coverage detected