Permit default value colors from nu-highlight
We had all this ceremony for default value formatting with `nu-highlight` but interfered with setting fixed colors
This commit is contained in:
parent
92f341fb73
commit
91bc1d9cd6
|
@ -542,11 +542,7 @@ where
|
|||
}
|
||||
let _ = write!(long_desc, " - {}", flag.desc);
|
||||
if let Some(value) = &flag.default_value {
|
||||
let _ = write!(
|
||||
long_desc,
|
||||
" (default: {help_subcolor_two}{}{RESET})",
|
||||
&value_formatter(value)
|
||||
);
|
||||
let _ = write!(long_desc, " (default: {})", &value_formatter(value));
|
||||
}
|
||||
long_desc.push('\n');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user