summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsharkdp <davidpeter@web.de>2021-01-06 22:25:23 +0100
committerDavid Peter <sharkdp@users.noreply.github.com>2021-01-06 22:53:51 +0100
commit26136be9037e246b1d2cc5503c760e6e2ebb1491 (patch)
tree8712d51191150fba3efff95d65e619c16b6c8dfd /src
parent6a52f69b5816819ae3d44f231e236e6249c4eff7 (diff)
Add --diagnostics alias
Diffstat (limited to 'src')
-rw-r--r--src/bin/bat/clap_app.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/bat/clap_app.rs b/src/bin/bat/clap_app.rs
index b2ebb6f7..87cb2a65 100644
--- a/src/bin/bat/clap_app.rs
+++ b/src/bin/bat/clap_app.rs
@@ -480,6 +480,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
.arg(
Arg::with_name("diagnostic")
.long("diagnostic")
+ .alias("diagnostics")
.hidden_short_help(true)
.help("Show diagnostic information for bug reports.")
)