From 2b3457e8d6bb52a79a3ffce0db7db7612c8afd12 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Sat, 25 Jul 2020 22:32:34 +0200 Subject: [PATCH] Update --help text for --color --- src/bin/bat/clap_app.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/bat/clap_app.rs b/src/bin/bat/clap_app.rs index 730a2175..aa032a52 100644 --- a/src/bin/bat/clap_app.rs +++ b/src/bin/bat/clap_app.rs @@ -225,7 +225,8 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> { .help("When to use colors (*auto*, never, always).") .long_help( "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.", ), )