=================================================================== RCS file: /cvs/mandoc/mandoc.1,v retrieving revision 1.109 retrieving revision 1.112 diff -u -p -r1.109 -r1.112 --- mandoc/mandoc.1 2014/08/30 18:08:10 1.109 +++ mandoc/mandoc.1 2014/09/12 00:10:26 1.112 @@ -1,4 +1,4 @@ -.\" $Id: mandoc.1,v 1.109 2014/08/30 18:08:10 schwarze Exp $ +.\" $Id: mandoc.1,v 1.112 2014/09/12 00:10:26 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons .\" Copyright (c) 2012, 2014 Ingo Schwarze @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: August 30 2014 $ +.Dd $Mdocdate: September 12 2014 $ .Dt MANDOC 1 .Os .Sh NAME @@ -23,7 +23,7 @@ .Nd format and display UNIX manuals .Sh SYNOPSIS .Nm mandoc -.Op Fl acfklV +.Op Fl acfhklV .Sm off .Op Fl I Cm os Li = Ar name .Sm on @@ -85,6 +85,10 @@ for the .Xr mdoc 7 .Sq \&Os macro. +.It Fl h +Display only the SYNOPSIS lines. +Implies +.Fl a . .It Fl k A synonym for .Xr apropos 1 . @@ -762,6 +766,28 @@ The same standard section title occurs more than once. .Pq mdoc A standard section header occurs in a section of the manual where it normally isn't useful. +.It Sy "unusual Xr order" +.Pq mdoc +In the SEE ALSO section, an +.Ic \&Xr +macro with a lower section number follows one with a higher number, +or two +.Ic \&Xr +macros refering to the same section are out of alphabetical order. +.It Sy "unusual Xr punctuation" +.Pq mdoc +In the SEE ALSO section, punctuation between two +.Ic \&Xr +macros differs from a single comma, or there is trailing punctuation +after the last +.Ic \&Xr +macro. +.It Sy "AUTHORS section without An macro" +.Pq mdoc +An AUTHORS sections contains no +.Ic \&An +macros, or only empty ones. +Probably, there are author names lacking markup. .El .Ss "Warnings related to macros and nesting" .Bl -ohang