Skip to content

Arg::help

since 0.1.0

Sets the description of the argument for short help (-h).

name = "prog"
[args]
cfg = { long = "config", help = "Some help text describing the --config arg" }
Terminal window
prog --help
Terminal window
Usage: prog [OPTIONS]
Options:
--config <cfg> Some help text describing the --config arg
-h, --help Print help