| @@ -1,41 +1,41 @@ | | | @@ -1,41 +1,41 @@ |
1 | .\" $OpenBSD: mdoclint.1,v 1.7 2009/04/13 19:06:38 jmc Exp $ | | 1 | .\" $OpenBSD: mdoclint.1,v 1.7 2009/04/13 19:06:38 jmc Exp $ |
2 | .\" $NetBSD: mdoclint.1,v 1.4 2010/12/03 09:22:08 wiz Exp $ | | 2 | .\" $NetBSD: mdoclint.1,v 1.5 2011/09/26 12:46:29 wiz Exp $ |
3 | .\" | | 3 | .\" |
4 | .\" Copyright (c) 2001-2009 Thomas Klausner | | 4 | .\" Copyright (c) 2001-2009 Thomas Klausner |
5 | .\" All rights reserved. | | 5 | .\" All rights reserved. |
6 | .\" | | 6 | .\" |
7 | .\" Redistribution and use in source and binary forms, with or without | | 7 | .\" Redistribution and use in source and binary forms, with or without |
8 | .\" modification, are permitted provided that the following conditions | | 8 | .\" modification, are permitted provided that the following conditions |
9 | .\" are met: | | 9 | .\" are met: |
10 | .\" 1. Redistributions of source code must retain the above copyright | | 10 | .\" 1. Redistributions of source code must retain the above copyright |
11 | .\" notice, this list of conditions and the following disclaimer. | | 11 | .\" notice, this list of conditions and the following disclaimer. |
12 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 12 | .\" 2. Redistributions in binary form must reproduce the above copyright |
13 | .\" notice, this list of conditions and the following disclaimer in the | | 13 | .\" notice, this list of conditions and the following disclaimer in the |
14 | .\" documentation and/or other materials provided with the distribution. | | 14 | .\" documentation and/or other materials provided with the distribution. |
15 | .\" | | 15 | .\" |
16 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR, THOMAS KLAUSNER, | | 16 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR, THOMAS KLAUSNER, |
17 | .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | | 17 | .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED |
18 | .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | | 18 | .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
19 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | | 19 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS |
20 | .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | | 20 | .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
21 | .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | | 21 | .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
22 | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | | 22 | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
23 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | | 23 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
24 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | | 24 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
25 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | | 25 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
26 | .\" POSSIBILITY OF SUCH DAMAGE. | | 26 | .\" POSSIBILITY OF SUCH DAMAGE. |
27 | .\" | | 27 | .\" |
28 | .Dd April 13, 2009 | | 28 | .Dd September 26, 2011 |
29 | .Dt MDOCLINT 1 | | 29 | .Dt MDOCLINT 1 |
30 | .Os | | 30 | .Os |
31 | .Sh NAME | | 31 | .Sh NAME |
32 | .Nm mdoclint | | 32 | .Nm mdoclint |
33 | .Nd man page verifier | | 33 | .Nd man page verifier |
34 | .Sh SYNOPSIS | | 34 | .Sh SYNOPSIS |
35 | .Nm | | 35 | .Nm |
36 | .Op Fl aDdeFfHhmnoPprSsvwXx | | 36 | .Op Fl aDdeFfHhmnoPprSsvwXx |
37 | .Ar | | 37 | .Ar |
38 | .Sh DESCRIPTION | | 38 | .Sh DESCRIPTION |
39 | .Nm | | 39 | .Nm |
40 | is a man page verifier. | | 40 | is a man page verifier. |
41 | It tries to automatically find as many common | | 41 | It tries to automatically find as many common |
| @@ -129,26 +129,27 @@ Also notices occurrences of | | | @@ -129,26 +129,27 @@ Also notices occurrences of |
129 | .Dq \&.Bx Net , | | 129 | .Dq \&.Bx Net , |
130 | and | | 130 | and |
131 | .Dq \&.Bx Open , | | 131 | .Dq \&.Bx Open , |
132 | for which the same applies. | | 132 | for which the same applies. |
133 | .It Fl x | | 133 | .It Fl x |
134 | Warn about cross-references whose target is missing, cross-references | | 134 | Warn about cross-references whose target is missing, cross-references |
135 | to itself, or plain bogus cross-references. | | 135 | to itself, or plain bogus cross-references. |
136 | .Pp | | 136 | .Pp |
137 | For | | 137 | For |
138 | .Dq .Xr name X , | | 138 | .Dq .Xr name X , |
139 | the following files are checked: | | 139 | the following files are checked: |
140 | .Pa /usr/share/man/manX/name.X , | | 140 | .Pa /usr/share/man/manX/name.X , |
141 | .Pa /usr/share/man/manX/`uname -m`/name.X , | | 141 | .Pa /usr/share/man/manX/`uname -m`/name.X , |
| | | 142 | .Pa /usr/X11R7/man/manX/name.X , |
142 | and | | 143 | and |
143 | .Pa ./name.X . | | 144 | .Pa ./name.X . |
144 | .El | | 145 | .El |
145 | .Sh SEE ALSO | | 146 | .Sh SEE ALSO |
146 | .Xr mdoc 7 , | | 147 | .Xr mdoc 7 , |
147 | .Xr mdoc.samples 7 | | 148 | .Xr mdoc.samples 7 |
148 | .Sh AUTHORS | | 149 | .Sh AUTHORS |
149 | .An Thomas Klausner | | 150 | .An Thomas Klausner |
150 | .Aq wiz@netbsd.org | | 151 | .Aq wiz@netbsd.org |
151 | .An Marc Espie | | 152 | .An Marc Espie |
152 | .Aq espie@openbsd.org | | 153 | .Aq espie@openbsd.org |
153 | .Sh BUGS | | 154 | .Sh BUGS |
154 | The | | 155 | The |