Skip to content

Arg::hide_possible_values

since 0.1.0

Do not display the possible values in the help message.

name = "prog"
[args]
mode = { long = "mode", value-parser = ["fast", "slow"], action = "set", hide-possible-values = true }
Terminal window
prog --help
Terminal window
Usage: prog [OPTIONS]
Options:
--mode <mode>
-h, --help Print help