Skip to content

Commit

Permalink
Gave a better name to the --color placeholder (#3226)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
michaelritsema authored Apr 23, 2024
1 parent 430ac7c commit 936facf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/uv/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ pub(crate) struct GlobalArgs {
long,
value_enum,
default_value = "auto",
conflicts_with = "no_color"
conflicts_with = "no_color",
value_name = "COLOR_CHOICE"
)]
pub(crate) color: ColorChoice,

Expand Down

0 comments on commit 936facf

Please sign in to comment.