1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-07 19:31:42 +00:00

Add --diagnostic option to bat

This commit is contained in:
sharkdp
2020-12-31 18:17:15 +01:00
committed by David Peter
parent 5e1f9fadf4
commit ebb97e94a9
4 changed files with 88 additions and 4 deletions
+6
View File
@@ -477,6 +477,12 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
.hidden(true)
.help("Show bat's cache directory."),
)
.arg(
Arg::with_name("diagnostic")
.long("diagnostic")
.hidden_short_help(true)
.help("Show diagnostic information for bug reports.")
)
.help_message("Print this help message.")
.version_message("Show version information.");