1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-02 03:12:25 +01:00

added set_terminal_title arg to clap_app.rs to fix ci errors

This commit is contained in:
Oliver looney
2024-01-29 09:47:41 +00:00
parent 60e32cf823
commit 7f12989127
3 changed files with 10 additions and 5 deletions

View File

@@ -567,6 +567,13 @@ pub fn build_app(interactive_output: bool) -> Command {
.action(ArgAction::SetTrue)
.hide_short_help(true)
.help("Show acknowledgements."),
)
.arg(
Arg::new("set_terminal_title")
.long("set_terminal_title")
.action(ArgAction::SetTrue)
.hide_short_help(true)
.help("Sets terminal title to filenames when using a pager."),
);
// Check if the current directory contains a file name cache. Otherwise,