You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
## Version 1.7: Parse breakup (in progress)
1
+
## Version 1.7: Parse breakup
2
2
3
3
The parsing procedure now maps much more sensibly to complex, nested subcommand structures. Each phase of the parsing happens on all subcommands before moving on with the next phase of the parse. This allows several features, like required environment variables, to work properly even through subcommand boundaries.
4
4
Passing the same subcommand multiple times is better supported. Several new features were added as well, including Windows style option support, parsing strings directly, and ignoring underscores in names. Adding a set that you plan to change later must now be done with `add_mutable_set`.
@@ -234,7 +234,7 @@ Before parsing, you can set the following options:
234
234
-`->group(name)`: The help group to put the option in. No effect for positional options. Defaults to `"Options"`. `""` will not show up in the help print (hidden).
235
235
-`->ignore_case()`: Ignore the case on the command line (also works on subcommands, does not affect arguments).
236
236
-`->ignore_underscore()`: Ignore any underscores in the options names (also works on subcommands, does not affect arguments). For example "option_one" will match with optionone. This does not apply to short form options since they only have one character
237
-
-`.description(str)`: Set/change the description.
237
+
-`->description(str)`: Set/change the description.
238
238
-`->multi_option_policy(CLI::MultiOptionPolicy::Throw)`: Set the multi-option policy. Shortcuts available: `->take_last()`, `->take_first()`, and `->join()`. This will only affect options expecting 1 argument or bool flags (which always default to take last).
239
239
-`->check(CLI::ExistingFile)`: Requires that the file exists if given.
240
240
-`->check(CLI::ExistingDirectory)`: Requires that the directory exists.
0 commit comments