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

Method usage

src/tools/Search.java:37–46  ·  view source on GitHub ↗

Prints usage.

(final ArgP argp, final String errmsg)

Source from the content-addressed store, hash-verified

35
36 /** Prints usage. */
37 static void usage(final ArgP argp, final String errmsg) {
38 System.err.println(errmsg);
39 System.err.println("Usage: search <subcommand> args\n"
40 + "Sub commands:\n"
41 + " lookup <query>: Retreives a list of time series with the given\n"
42 + " metric, tagk, tagv or any combination thereof.\n");
43 if (argp != null) {
44 System.err.print(argp.usage());
45 }
46 }
47
48 /**
49 * Entry point to run the search utility

Callers 2

mainMethod · 0.95
runCommandMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected