Prints usage.
(final ArgP argp, final String errmsg)
| 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 |
no outgoing calls
no test coverage detected