Arg::value_hint
value_hint
Section titled “value_hint ”Provide the shell a hint about how to complete this argument.
Example
Section titled “Example”name = "prog"[args]command = { short = 'u', long = 'username', value-hint = "username" }
name: progargs: command: short: u long: username value-hint: username
{ "name": "prog", "args": { "command": { "short": "u", "long": "username", "value-hint": "username" } }}
prog --help
Output
Section titled “Output”Usage: prog [OPTIONS]
Options: -u, --username <command> -h, --help Print help