summaryrefslogtreecommitdiffstats
path: root/apropos.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-22 03:42:18 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-22 03:42:18 +0000
commitc3e7065441bd0ab25518a236f7d95b8bd84d2694 (patch)
tree07708e9dcfc7c69276562a6f433f743f92e107b5 /apropos.1
parent8d9cd5cdd95aa9923e4a071a9e4c7f63545120d4 (diff)
downloadmandoc-c3e7065441bd0ab25518a236f7d95b8bd84d2694.tar.gz
mandoc -a, man, apropos -a, whatis -a now paginate by default
but provide an option -c to not paginate; taking inspiration from manpage.c, hence adding (c) 2012 kristaps@
Diffstat (limited to 'apropos.1')
-rw-r--r--apropos.117
1 files changed, 15 insertions, 2 deletions
diff --git a/apropos.1 b/apropos.1
index 43e2c62b..91bed314 100644
--- a/apropos.1
+++ b/apropos.1
@@ -24,7 +24,7 @@
.Nd search manual page databases
.Sh SYNOPSIS
.Nm
-.Op Fl afkw
+.Op Fl acfkw
.Op Fl C Ar file
.Op Fl M Ar path
.Op Fl m Ar path
@@ -71,7 +71,14 @@ just like
.Xr man 1
.Fl a
would.
-In this mode, the options
+If the standard output is a terminal device and
+.Fl c
+is not specified, use
+.Xr more 1
+to paginate them.
+In
+.Fl a
+mode, the options
.Fl IOTW
described in the
.Xr mandoc 1
@@ -82,6 +89,12 @@ Specify an alternative configuration
in
.Xr man.conf 5
format.
+.It Fl c
+In
+.Fl a
+mode, copy the formatted manual pages to the standard output without using
+.Xr more 1
+to paginate them.
.It Fl f
Search for all words in
.Ar expression