Gave a better name to the --color placeholder (#3226)

## Summary

The cli gives <COLOR> as value placeholder which is misleading. I
changed this to <COLOR_CHOICE> to make it obvious you don't supply a
color but a ColorChoice value.

## Test Plan

Compiled and verified --help text was correct
This commit is contained in:
Michael Ritsema 2024-04-23 17:13:17 -05:00 committed by GitHub
parent 430ac7c45c
commit 936facfb08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,7 +61,8 @@ pub(crate) struct GlobalArgs {
long, long,
value_enum, value_enum,
default_value = "auto", default_value = "auto",
conflicts_with = "no_color" conflicts_with = "no_color",
value_name = "COLOR_CHOICE"
)] )]
pub(crate) color: ColorChoice, pub(crate) color: ColorChoice,