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