docs: clarify instructions to print help groups

This commit is contained in:
Nitin Kumar 2026-02-02 13:55:49 +05:30
parent 3383204b3b
commit d8c310a0c3
1 changed files with 1 additions and 4 deletions

View File

@ -129,10 +129,7 @@ explaining the error.
## Help groups
Options can be placed into groups for the purposes of displaying help messages.
To place options in a group, pass the group as a string to `add_options`. Then,
when displaying the help, pass the groups that you would like displayed as a
vector to the `help` function.
To place options in a group, pass the group as a string to `add_options`. Then, when displaying the help, `help` by default print help for all groups. If you want to only print help for a specific group, pass the groups that you would like displayed as a vector to the `help` function.
## Positional Arguments
Positional arguments are those given without a preceding flag and can be used