summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsharkdp <davidpeter@web.de>2020-09-20 20:43:30 +0200
committersharkdp <davidpeter@web.de>2020-09-20 20:43:30 +0200
commit57aa88a13a76434e3ab2d4a8065f6d8e208e5a3e (patch)
tree08bd7223403c3d2a963429c7950658b0e7f08617
parent5ef35a10cf880c56b0e1c1ca7598ec742030eee1 (diff)
Improve --file-name help text, closes #1109
-rw-r--r--src/bin/bat/clap_app.rs3
1 files changed, 2 insertions, 1 deletions
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.",
),
);