mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-05-02 13:43:52 +00:00
Docs update for subcom/positional
This commit is contained in:
parent
4dcab42bc7
commit
bd87bdff53
@ -1,3 +1,7 @@
|
||||
## Version 1.2 (in progress)
|
||||
|
||||
* Required positionals now take priority over subcommands [#23](https://github.com/CLIUtils/CLI11/issues/23)
|
||||
|
||||
## Version 1.1
|
||||
|
||||
* Added simple support for enumerations, allow non-printable objects [#12](https://github.com/CLIUtils/CLI11/issues/12)
|
||||
|
@ -198,6 +198,8 @@ There are several options that are supported on the main app and subcommands. Th
|
||||
* `.allow_extras()`: Do not throw an error if extra arguments are left over (Only useful on the main `App`, as that's the one that throws errors).
|
||||
* `.prefix_command()`: Like `allow_extras`, but stop immediately on the first unrecognised item. It is ideal for allowing your app to be a "prefix" to calling another app.
|
||||
|
||||
> Note: if you have a fixed number of required positional options, that will match before subcommand names.
|
||||
|
||||
## Configuration file
|
||||
|
||||
```cpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user