Arg::help_heading
help_heading
Section titled “help_heading ”Override the current help section.
Example
Section titled “Example”name = "prog"[args]cfg = { long = "config", help-heading = "Configuration Options", help = "Some help text describing the --config arg" }
name: progargs: cfg: long: config help-heading: Configuration Options help: Some help text describing the --config arg
{ "name": "prog", "args": { "cfg": { "long": "config", "help-heading": "Configuration Options", "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