mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-04-30 20:53:52 +00:00
Adding details
[skip ci]
This commit is contained in:
parent
3cf5156b5e
commit
e2deeca76c
@ -14,6 +14,7 @@
|
||||
* The clang-format script is now no longer "hidden" [#48](https://github.com/CLIUtils/CLI11/pull/48)
|
||||
* The order is now preserved for subcommands (list and callbacks) [#49](https://github.com/CLIUtils/CLI11/pull/49)
|
||||
* Tests now run individually, utilizing CMake 3.10 additions if possible [#50](https://github.com/CLIUtils/CLI11/pull/50)
|
||||
* Failure messages are now customizable, with a shorter default [#52](https://github.com/CLIUtils/CLI11/pull/52)
|
||||
|
||||
|
||||
## Version 1.2
|
||||
|
@ -214,6 +214,7 @@ 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
|
||||
* `.prefix_command()`: Like `allow_extras`, but stop immediately on the first unrecognised item. It is ideal for allowing your app or subcommand to be a "prefix" to calling another app.
|
||||
* `.set_footer(message)`: Set text to appear at the bottom of the help string.
|
||||
* `.set_failure_message(func)`: Set the failure message function. Two provided: `CLI::FailureMessage::help` and CLI::FailureMessage::simple` (the default).
|
||||
* `.group(name)`: Set a group name, defaults to `"Subcommands"`. Setting `""` will be hide the subcommand.
|
||||
|
||||
> Note: if you have a fixed number of required positional options, that will match before subcommand names.
|
||||
|
Loading…
x
Reference in New Issue
Block a user