1
0
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:
Henry Fredrick Schreiner 2017-08-23 10:44:03 -07:00
parent 4dcab42bc7
commit bd87bdff53
2 changed files with 6 additions and 0 deletions

View File

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

View File

@ -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