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 | c3e7065441bd0ab25518a236f7d95b8bd84d2694 (patch) | |
tree | 07708e9dcfc7c69276562a6f433f743f92e107b5 /mandoc.1 | |
parent | 8d9cd5cdd95aa9923e4a071a9e4c7f63545120d4 (diff) | |
download | mandoc-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 'mandoc.1')
-rw-r--r-- | mandoc.1 | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -23,7 +23,7 @@ .Nd format and display UNIX manuals .Sh SYNOPSIS .Nm mandoc -.Op Fl V +.Op Fl acV .Sm off .Op Fl I Cm os Li = Ar name .Sm on @@ -53,6 +53,21 @@ output. .Pp The arguments are as follows: .Bl -tag -width Ds +.It Fl a +If the standard output is a terminal device and +.Fl c +is not specified, use +.Xr more 1 +to paginate the output, just like +.Xr man 1 +would. +.It Fl c +Copy the formatted manual pages to the standard output without using +.Xr more 1 +to paginate them. +This is the default. +It can be specified to override +.Fl a . .Sm off .It Fl I Cm os Li = Ar name .Sm on |