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)
| 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. |