mirror of
https://github.com/clap-rs/clap
synced 2025-03-04 23:37:32 +00:00
fix(help): Don't dim placeholders
This came from feedback: https://rust-lang.zulipchat.com/#narrow/stream/220302-wg-cli/topic/Help.20changes.20in.20clap.20v4
This commit is contained in:
parent
7818af3ac8
commit
e02648e66b
1 changed files with 1 additions and 3 deletions
|
@ -156,9 +156,7 @@ impl StyledStr {
|
|||
Some(Style::Literal) => {
|
||||
color.set_bold(true);
|
||||
}
|
||||
Some(Style::Placeholder) => {
|
||||
color.set_dimmed(true);
|
||||
}
|
||||
Some(Style::Placeholder) => {}
|
||||
Some(Style::Good) => {
|
||||
color.set_fg(Some(termcolor::Color::Green));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue