From 57aa88a13a76434e3ab2d4a8065f6d8e208e5a3e Mon Sep 17 00:00:00 2001 From: sharkdp Date: Sun, 20 Sep 2020 20:43:30 +0200 Subject: [PATCH] Improve --file-name help text, closes #1109 --- src/bin/bat/clap_app.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/bat/clap_app.rs b/src/bin/bat/clap_app.rs index 385d017b..894c1bfb 100644 --- a/src/bin/bat/clap_app.rs +++ b/src/bin/bat/clap_app.rs @@ -105,7 +105,8 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> { .long_help( "Specify the name to display for a file. Useful when piping \ data to bat from STDIN when bat does not otherwise know \ - the filename.", + the filename. Note that the provided file name is also \ + used for syntax detection.", ), );