aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-12-12 21:02:24 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-12-12 21:02:24 +0000
commit12df7266d9b07aab25c28cf27883f34b44309d0f (patch)
tree850e990de482f9a6ce17e9a866f0540c628ae42b
parenta1b34c4067e7649dc45e72179b4cbe884bb226f6 (diff)
downloadsrc-12df7266d9b07aab25c28cf27883f34b44309d0f.tar.gz
src-12df7266d9b07aab25c28cf27883f34b44309d0f.zip
MFC r367678:
Document the PAGER environment variable Sometimes users want to use freebsd-update(8) in a non-interactive way and what they often miss is that they have to set PAGER to cat(1) in order to avoid interactive prompts from less(1).
Notes
Notes: svn path=/stable/11/; revision=368590
-rw-r--r--usr.sbin/freebsd-update/freebsd-update.816
1 files changed, 15 insertions, 1 deletions
diff --git a/usr.sbin/freebsd-update/freebsd-update.8 b/usr.sbin/freebsd-update/freebsd-update.8
index 0f8cbfda8f6e..54ec17b5ea36 100644
--- a/usr.sbin/freebsd-update/freebsd-update.8
+++ b/usr.sbin/freebsd-update/freebsd-update.8
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 24, 2019
+.Dd November 14, 2020
.Dt FREEBSD-UPDATE 8
.Os
.Sh NAME
@@ -194,6 +194,20 @@ it cannot be trusted to operate correctly.
If you intend to use this command for intrusion-detection
purposes, make sure you boot from a secure disk (e.g., a CD).
.El
+.Sh ENVIRONMENT
+.Bl -tag -width "PAGER"
+.It Ev PAGER
+The pager program used to present various reports during the execution.
+.Po
+Default:
+.Dq Pa /usr/bin/less .
+.Pc
+.Pp
+.Ev PAGER
+can be set to
+.Dq cat
+when a non-interactive pager is desired.
+.El
.Sh FILES
.Bl -tag -width "/etc/freebsd-update.conf"
.It Pa /etc/freebsd-update.conf