From 4583826a5bf456c305695ca85aff4716da872da6 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 5 Jul 2022 22:48:53 -0700 Subject: [PATCH] =?UTF-8?q?Fix=20documentation=20typo:=20--pager=3Dnever?= =?UTF-8?q?=20=E2=86=92=20--paging=3Dnever?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Anders Kaseorg --- assets/manual/bat.1.in | 2 +- src/bin/bat/clap_app.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/manual/bat.1.in b/assets/manual/bat.1.in index dfc324bc..f4322010 100644 --- a/assets/manual/bat.1.in +++ b/assets/manual/bat.1.in @@ -29,7 +29,7 @@ control the width of the tab\-placeholders. .IP Only show plain style, no decorations. This is an alias for \&'\-\-style=plain'. When '\-p' is used twice ('\-pp'), it also disables -automatic paging (alias for '\-\-style=plain \fB\-\-pager\fR=\fI\,never\/\fR'). +automatic paging (alias for '\-\-style=plain \fB\-\-paging\fR=\fI\,never\/\fR'). .HP \fB\-l\fR, \fB\-\-language\fR .IP diff --git a/src/bin/bat/clap_app.rs b/src/bin/bat/clap_app.rs index c2cdb23f..f9e6cc2a 100644 --- a/src/bin/bat/clap_app.rs +++ b/src/bin/bat/clap_app.rs @@ -77,7 +77,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> { .long_help( "Only show plain style, no decorations. This is an alias for \ '--style=plain'. When '-p' is used twice ('-pp'), it also disables \ - automatic paging (alias for '--style=plain --pager=never').", + automatic paging (alias for '--style=plain --paging=never').", ), ) .arg(