Command::next_help_heading
next_help_heading
Section titled “next_help_heading ”Set the default section heading for future args.
Example
Section titled “Example”name = "prog"next-help-heading = "Configuration Options"[args]cfg = { long = "config", help = "Some help text describing the --config arg" }
name: prognext-help-heading: Configuration Optionsargs: cfg: long: config help: Some help text describing the --config arg
{ "name": "prog", "next-help-heading": "Configuration Options", "args": { "cfg": { "long": "config", "help": "Some help text describing the --config arg" } }}
prog --help
Output
Section titled “Output”Usage: prog [OPTIONS]
Options: -h, --help Print help
Configuration Options: --config <cfg> Some help text describing the --config arg