Command::disable_colored_help
disable_colored_help
Section titled “disable_colored_help ”Disables colorized help messages.
Examples
Section titled “Examples”Example 1
Section titled “Example 1”name = "myprog"disable-colored-help = true[args]cfg = { long = "config" }name: myprogdisable-colored-help: trueargs: cfg: long: config{ "name": "myprog", "disable-colored-help": true, "args": { "cfg": { "long": "config" } }}myprog --helpOutput
Section titled “Output”Usage: myprog [OPTIONS]
Options: --config <cfg> -h, --help Print helpExample 2
Section titled “Example 2”name = "myprog"disable-colored-help = true[args]cfg = { long = "config" }name: myprogdisable-colored-help: trueargs: cfg: long: config{ "name": "myprog", "disable-colored-help": true, "args": { "cfg": { "long": "config" } }}myprog --confgOutput
Section titled “Output”error: unexpected argument '--confg' found
tip: a similar argument exists: '--config'
Usage: myprog --config <cfg>
For more information, try '--help'.