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

Make --no-paging and --no-pager work again

This commit is contained in:
Martin Nordholts
2021-08-09 10:54:32 +02:00
parent cb4973987b
commit 89217e0d58
2 changed files with 37 additions and 0 deletions

View File

@@ -294,6 +294,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
.arg(
Arg::with_name("no-paging")
.short("P")
.long("no-paging")
.alias("no-pager")
.overrides_with("no-paging")
.hidden(true)