Hello,

The mandoc(1) option alias -l for -a was removed from the documentation
in revision 1.107:

https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/mandoc/mandoc.1.diff?r1=1.106&r2=1.107

The -l option still works, but this diff makes the example consistent
with the current option description.

Cheers, Anders


Index: usr.bin/mandoc/mandoc.1
===================================================================
RCS file: /cvs/src/usr.bin/mandoc/mandoc.1,v
retrieving revision 1.180
diff -u -p -u -p -r1.180 mandoc.1
--- usr.bin/mandoc/mandoc.1     6 Feb 2022 00:29:03 -0000       1.180
+++ usr.bin/mandoc/mandoc.1     8 Feb 2022 07:33:42 -0000
@@ -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

Reply via email to