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 | 30ac216c64634bf488872256780df226e6293d95 (patch) | |
tree | fff45f9674e76c682652aaa7d303e28ed86ecc3a /chars.c | |
parent | 580074c6047a3f59a31c20368c91cc81f3c4f849 (diff) | |
download | mandoc-30ac216c64634bf488872256780df226e6293d95.tar.gz mandoc-30ac216c64634bf488872256780df226e6293d95.tar.zst mandoc-30ac216c64634bf488872256780df226e6293d95.zip |
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 'chars.c')