1 .\" $Id: mdoclint.1,v 1.1 2009/02/23 13:06:18 kristaps Exp $
3 .\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
5 .\" Permission to use, copy, modify, and distribute this software for any
6 .\" purpose with or without fee is hereby granted, provided that the
7 .\" above copyright notice and this permission notice appear in all
10 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
11 .\" WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
12 .\" WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
13 .\" AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
14 .\" DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
15 .\" PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
16 .\" TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17 .\" PERFORMANCE OF THIS SOFTWARE.
19 .Dd $Mdocdate: February 23 2009 $
25 .Nd mdoc macro compiler
38 manual pages and validates its syntax tree. The arguments are as
40 .Bl -tag -width "\-Werr... "
43 Print verbose parsing output.
46 Print warning messages. May be set to
50 for groff/troff-compatibility warnings, or
52 for syntax warnings. If
54 is specified, warnings are considered errors and cause utility
57 arguments may be comma-separated, such as
58 .Fl W Ns Ar error,all .
71 utility is a front-end for
79 into an abstract syntax tree.
95 To validate this manual page:
98 .D1 % mdoclint \-Wall,error mdoclint.1
110 utility was written by
111 .An Kristaps Dzonsons Aq kristaps@kth.se .
116 for a list of bugs, caveats, and incomplete macros.