add an after help NOTE

This commit is contained in:
henil 2020-10-04 00:20:17 +05:30 committed by David Peter
parent 29b6ba0758
commit 8ff890635f
1 changed files with 4 additions and 0 deletions

View File

@ -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")