mirror of https://github.com/jarro2783/cxxopts.git
docs: clarify instructions to print help groups
This commit is contained in:
parent
3383204b3b
commit
d8c310a0c3
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue