on master help sign in
Update --help text for --color
commit2b3457e8d6bb52a79a3ffce0db7db7612c8afd12 authorsharkdp <davidpeter@web.de> dateSat 25 Jul 2020, 22:32 (6 years ago) parentf5d606c
1 file changed+2−1
src/bin/bat/clap_app.rs+2−1
src/bin/bat/clap_app.rs+2−1
@@ -225,7 +225,8 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
225225 .help("When to use colors (*auto*, never, always).")
226226 .long_help(
227227 "Specify when to use colored output. The automatic mode \
228− only enables colors if an interactive terminal is detected. \
228+ only enables colors if an interactive terminal is detected - \
229+ colors are automatically disabled if the output goes to a pipe.\n\
229230 Possible values: *auto*, never, always.",
230231 ),
231232 )