1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-09 19:51:48 +00:00

Add short flag for --paging=never

This commit is contained in:
Dash Peters
2020-06-30 12:18:17 -07:00
parent b0191cdf2c
commit 2575aae945
2 changed files with 8 additions and 0 deletions
+6
View File
@@ -275,6 +275,12 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
Possible values: *auto*, never, always.",
),
)
.arg(
Arg::with_name("disable-paging")
.short("P")
.overrides_with("disable-paging")
.help("Alias for --paging=never")
)
.arg(
Arg::with_name("pager")
.long("pager")