mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-05-06 07:03:52 +00:00
Adding to readme
This commit is contained in:
parent
33de7af0e6
commit
217075b2d1
@ -149,7 +149,8 @@ On the command line, options can be given as:
|
|||||||
* `--file filename` (space)
|
* `--file filename` (space)
|
||||||
* `--file=filename` (equals)
|
* `--file=filename` (equals)
|
||||||
|
|
||||||
Extra positional arguments will cause the program to exit, so at least one positional option with a vector is recommended if you want to allow extraneous arguments
|
Extra positional arguments will cause the program to exit, so at least one positional option with a vector is recommended if you want to allow extraneous arguments.
|
||||||
|
If you set `.allow_extras()` on the main `App`, the parse function will return the left over arguments instead of throwing an error.
|
||||||
If `--` is present in the command line,
|
If `--` is present in the command line,
|
||||||
everything after that is positional only.
|
everything after that is positional only.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user