on master help sign in
Update --help text for --color
2b3457esharkdp
src/bin/bat/clap_app.rs+2−1
@@ -225,7 +225,8 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
225 .help("When to use colors (*auto*, never, always).")
225 .help("When to use colors (*auto*, never, always).")
226 .long_help(
226 .long_help(
227 "Specify when to use colored output. The automatic mode \
227 "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\
229 Possible values: *auto*, never, always.",
230 Possible values: *auto*, never, always.",
230 ),
231 ),
231 )
232 )