Rethink displaying arg & subcommand metadata normally and colorfully both #1456
Labels
A-help
Area: documentation, including docs.rs, readme, examples, etc...
C-enhancement
Category: Raise on the bar on expectations
E-hard
Call for participation: Experience needed to fix: Hard / a lot
Rust Version
Affected Version of clap
Bug or Feature Request Summary
Currently, when one creates an application with arguments that specify environment variables via
.env()
, passing a flag that prints the program's help information at runtime will print environment variable information in the form:[env: NAME=]
, which is all expected.The issue I wish to bring up arises when you add
AppSettings::ColoredHelp
(and have the corresponding feature enabled in yourCargo.toml
). You'll notice that default values and possible values will be colorized, however the environment variables are not.Expected Behavior Summary
This is more of a minor nitpick I suppose. I would expect
NAME=
orNAME
in the[env: NAME=]
substring to be colorized like howVAL
in[default: VAL]
is colorized.The text was updated successfully, but these errors were encountered: