diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-22 03:42:18 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-22 03:42:18 +0000 |
commit | d9b8d132cdb084ba9070449dea785f3aab99c335 (patch) | |
tree | d88359b923e814a0af936b9fb1472481c7d1557d /apropos.1 | |
parent | a42f210a473e732d8b21465b45c0c5e09d2144e8 (diff) | |
download | mandoc-d9b8d132cdb084ba9070449dea785f3aab99c335.tar.gz mandoc-d9b8d132cdb084ba9070449dea785f3aab99c335.tar.zst mandoc-d9b8d132cdb084ba9070449dea785f3aab99c335.zip |
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.1 | 21 |
1 files changed, 17 insertions, 4 deletions
@@ -1,4 +1,4 @@ -.\" $Id: apropos.1,v 1.31 2014/08/21 02:28:40 schwarze Exp $ +.\" $Id: apropos.1,v 1.32 2014/08/22 03:42:18 schwarze Exp $ .\" .\" Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2011, 2012, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: August 21 2014 $ +.Dd $Mdocdate: August 22 2014 $ .Dt APROPOS 1 .Os .Sh NAME @@ -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 |