Skip to content

Arg::hide_env_values

since 0.1.0

Do not display in help any values inside the associated ENV variables for the argument.

name = "connect"
[args]
host = { long = "host", env = "CONNECT", action = "set", hide-env-values = true }
Terminal window
connect --help
Terminal window
Usage: connect [OPTIONS]
Options:
--host <host> [env: CONNECT]
-h, --help Print help