Skip to content

Arg::value_hint

since 0.1.0

Provide the shell a hint about how to complete this argument.

name = "prog"
[args]
command = { short = 'u', long = 'username', value-hint = "username" }
Terminal window
prog --help
Terminal window
Usage: prog [OPTIONS]
Options:
-u, --username <command>
-h, --help Print help