mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-04-30 12:43:52 +00:00
Adding prefix command to docs
This commit is contained in:
parent
4368e2976c
commit
e2fae48e59
@ -1,5 +1,6 @@
|
||||
## Version 1.1 (in progress)
|
||||
* Added `app.parse_order()` with original parse order
|
||||
* Added `prefix_command()`, which is like `allow_extras` but instantly stops and returns.
|
||||
|
||||
## Version 1.0
|
||||
* Cleanup using `clang-tidy` and `clang-format`
|
||||
|
@ -194,6 +194,7 @@ There are several options that are supported on the main app and subcommands. Th
|
||||
* `.parsed()`: True if this subcommand was given on the command line
|
||||
* `.set_callback(void() function)`: Set the callback that runs at the end of parsing. The options have already run at this point.
|
||||
* `.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.
|
||||
|
||||
## Configuration file
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user