Command::subcommand_help_heading
subcommand_help_heading
Section titled “subcommand_help_heading ”Sets the help heading used for subcommands when printing usage and help.
Example
Section titled “Example”name = "myprog"subcommand-help-heading = "Things"[[subcommands]]name = "sub"
name: myprogsubcommand-help-heading: Thingssubcommands:- name: sub
{ "name": "myprog", "subcommand-help-heading": "Things", "subcommands": [ { "name": "sub" } ]}
myprog --help
Output
Section titled “Output”Usage: myprog [COMMAND]
Things: sub help Print this message or the help of the given subcommand(s)
Options: -h, --help Print help