mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-12 07:58:52 +00:00
Update --help text for --color
This commit is contained in:
parent
f5d606c4fc
commit
2b3457e8d6
@ -225,7 +225,8 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
|
|||||||
.help("When to use colors (*auto*, never, always).")
|
.help("When to use colors (*auto*, never, always).")
|
||||||
.long_help(
|
.long_help(
|
||||||
"Specify when to use colored output. The automatic mode \
|
"Specify when to use colored output. The automatic mode \
|
||||||
only enables colors if an interactive terminal is detected. \
|
only enables colors if an interactive terminal is detected - \
|
||||||
|
colors are automatically disabled if the output goes to a pipe.\n\
|
||||||
Possible values: *auto*, never, always.",
|
Possible values: *auto*, never, always.",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user