added set_terminal_title arg to clap_app.rs to fix ci errors

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

No files matched your search

+7
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,