diff options
author | sharkdp <davidpeter@web.de> | 2020-07-25 22:32:34 +0200 |
---|---|---|
committer | sharkdp <davidpeter@web.de> | 2020-07-25 22:32:34 +0200 |
commit | 2b3457e8d6bb52a79a3ffce0db7db7612c8afd12 (patch) | |
tree | 76101086f8f097b31d2990919dbb7a933b4b4288 /src | |
parent | f5d606c4fceadd3d3f75c981fcb04cc52b538eb3 (diff) |
Update --help text for --color
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/bat/clap_app.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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.", ), ) |