MCPcopy Create free account
hub / github.com/apache/storm / boolOpt

Method boolOpt

storm-core/src/jvm/org/apache/storm/command/CLI.java:113–115  ·  view source on GitHub ↗

Add a boolean option that enables something. @param shortName the short single character name of the option (no `-` character proceeds it). @param longName the multi character name of the option (no `--` characters proceed it). @return a builder to be used to continue creating the command line.

(String shortName, String longName)

Source from the content-addressed store, hash-verified

111 * @return a builder to be used to continue creating the command line.
112 */
113 public static CLIBuilder boolOpt(String shortName, String longName) {
114 return new CLIBuilder().boolOpt(shortName, longName);
115 }
116
117 /**
118 * Add a named argument.

Callers 3

mainMethod · 0.45
mainMethod · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected