1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-04-30 12:43:52 +00:00

update docs on usage to indicate it is only available on main (#959)

fix missing doc indicator on usage method

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Philip Top 2023-12-16 06:47:44 -08:00 committed by GitHub
parent 89291cc1e4
commit 319e918af6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1001,10 +1001,10 @@ option_groups. These are:
- `.prefix_command()`: Like `allow_extras`, but stop immediately on the first
unrecognized item. It is ideal for allowing your app or subcommand to be a
"prefix" to calling another app.
- `.usage(message)`: Replace text to appear at the start of the help string
- `.usage(message)`: 🚧 Replace text to appear at the start of the help string
after description.
- `.usage(std::string())`: Set a callback to generate a string that will appear
at the start of the help string after description.
- `.usage(std::string())`: 🚧 Set a callback to generate a string that will
appear at the start of the help string after description.
- `.footer(message)`: Set text to appear at the bottom of the help string.
- `.footer(std::string())`: Set a callback to generate a string that will appear
at the end of the help string.