on master help sign in
add an after help NOTE
8ff8906henil
src/bin/bat/clap_app.rs+4
@@ -24,6 +24,10 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
24 "A cat(1) clone with wings.\n\n\
24 "A cat(1) clone with wings.\n\n\
25 Use '--help' instead of '-h' to see a more detailed version of the help text.",
25 Use '--help' instead of '-h' to see a more detailed version of the help text.",
26 )
26 )
27+ .after_help(
28+ "Note: `bat -h` prints a short and concise overview while `bat --help` gives all \
29+ details.",
30+ )
27 .long_about("A cat(1) clone with syntax highlighting and Git integration.")
31 .long_about("A cat(1) clone with syntax highlighting and Git integration.")
28 .arg(
32 .arg(
29 Arg::with_name("FILE")
33 Arg::with_name("FILE")