add an after help NOTE
commit8ff890635f2188ea84ff94e4531db01d5c473c73
authorhenil <dedaniahenil@gmail.com>
dateSun 4 Oct 2020, 00:20 (6 years ago)
parent29b6ba0
src/bin/bat/clap_app.rs+4
@@ -24,6 +24,10 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
2424 "A cat(1) clone with wings.\n\n\
2525 Use '--help' instead of '-h' to see a more detailed version of the help text.",
2626 )
27+ .after_help(
28+ "Note: `bat -h` prints a short and concise overview while `bat --help` gives all \
29+ details.",
30+ )
2731 .long_about("A cat(1) clone with syntax highlighting and Git integration.")
2832 .arg(
2933 Arg::with_name("FILE")