diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2022-02-08 18:30:22 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2022-02-08 18:30:22 +0000 |
commit | f91b1c03bf35cfdcc83697b3022a39a4196f2366 (patch) | |
tree | 14ca08dca568297bf44f584b3012567f1656b55b /mandoc.1 | |
parent | 349d4d6a8adf81c4793e7abb3ea9c74550bd83ce (diff) | |
download | mandoc-f91b1c03bf35cfdcc83697b3022a39a4196f2366.tar.gz |
In the first example, use "mandoc -a" directly rather "mandoc -l".
It feels more natural to me to use -a directly when asking mandoc(1)
to use a pager. The reason that "mandoc -l" does exactly the same
as "mandoc -a" is that "mandoc" is essentially "man -lc", so the -a
implied by -l negates the -c and the -l has no effect because it is
already the default for mandoc(1).
The more usual command for doing the same is "man -l foo.1 bar.1 ..."
but that's off-topic for the mandoc(1) manual page.
Patch on tech@ from Anders Damsgaard <anders at adamsgaard dot dk>.
Diffstat (limited to 'mandoc.1')
-rw-r--r-- | mandoc.1 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -735,7 +735,7 @@ output mode implies .Sh EXAMPLES To page manuals to the terminal: .Pp -.Dl $ mandoc -l mandoc.1 man.1 apropos.1 makewhatis.8 +.Dl $ mandoc -a mandoc.1 man.1 apropos.1 makewhatis.8 .Pp To produce HTML manuals with .Pa /usr/share/misc/mandoc.css |