=================================================================== RCS file: /cvs/mandoc/Attic/mdocml.1,v retrieving revision 1.21 retrieving revision 1.25 diff -u -p -r1.21 -r1.25 --- mandoc/Attic/mdocml.1 2008/12/06 19:41:41 1.21 +++ mandoc/Attic/mdocml.1 2008/12/10 12:05:33 1.25 @@ -1,6 +1,6 @@ .\" -.Dd $Mdocdate: December 6 2008 $ -.Dt mdocml 1 alpha +.Dd $Mdocdate: December 10 2008 $ +.Dt mdocml 1 .Os .\" .Sh NAME @@ -9,7 +9,8 @@ .\" .Sh SYNOPSIS .Nm mdocml -.Op Fl vW +.Op Fl v +.Op Fl W Ns Ar err... .Op Fl f Ar filter .Op Fl o Ar outfile .Op Ar infile @@ -25,15 +26,26 @@ and the default. Arguments common to all filters follow: .Bl -tag -width "\-o outfile" .It Fl f Ar filter -The output filter name. +The output filter name. This +.Em must +be declared before any other options. .It Fl o Ar outfile Write output to .Ar outfile , which may be .Dq \- for stdout. -.It Fl W -Print warnings to stderr. +.It Fl W Ns Ar err... +Print warning messages. If set to +.Fl W Ns Ar all , +all warnings are printed; if +.Fl W Ns Ar error , +warnings are considered errors and cause utility termination. Multiple +.Fl W +arguments may be comma-separated, such as +.Fl W Ns Ar error,all . +.It Fl v +Make warning and error messages verbose. .It Ar infile Read input from .Ar infile , @@ -118,7 +130,7 @@ and The .Nm utility was written by -.An Em Kristaps Dzonsons Aq kristaps@kth.se . +.An Kristaps Dzonsons Aq kristaps@kth.se . .\" .Sh CAVEATS Most caveats of