From 8ff890635f2188ea84ff94e4531db01d5c473c73 Mon Sep 17 00:00:00 2001 From: henil Date: Sun, 4 Oct 2020 00:20:17 +0530 Subject: [PATCH] add an after help NOTE --- src/bin/bat/clap_app.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/bat/clap_app.rs b/src/bin/bat/clap_app.rs index 3630dc2f..d04abd8a 100644 --- a/src/bin/bat/clap_app.rs +++ b/src/bin/bat/clap_app.rs @@ -24,6 +24,10 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> { "A cat(1) clone with wings.\n\n\ Use '--help' instead of '-h' to see a more detailed version of the help text.", ) + .after_help( + "Note: `bat -h` prints a short and concise overview while `bat --help` gives all \ + details.", + ) .long_about("A cat(1) clone with syntax highlighting and Git integration.") .arg( Arg::with_name("FILE")