Skip to content

Arg::hide_long_help

since 0.1.0

Hides an argument from long help (--help).

name = "prog"
[args]
cfg = { long = "config", hide-long-help = true, help = "Some help text describing the --config arg" }
Terminal window
prog --help
Terminal window
Usage: prog [OPTIONS]
Options:
-h, --help
Print help (see a summary with '-h')
name = "prog"
[args]
cfg = { long = "config", hide-long-help = true, help = "Some help text describing the --config arg" }
Terminal window
prog -h
Terminal window
Usage: prog [OPTIONS]
Options:
--config <cfg> Some help text describing the --config arg
-h, --help Print help (see more with '--help')