diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-01-03 16:43:47 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-01-03 16:43:47 +0000 |
commit | bd6a65097a3262c4303cae62507f2ae270b2c222 (patch) | |
tree | 3e52fe9d4fdd748dc21037171fe5ad4c38f8c750 /share/man/man7 | |
parent | 86ca804452ddaa9c534cb7def8fce3e2fc5facbd (diff) |
Neither .Pp nor unqualified text are allowed at the top level of .Bl;
instead, .It is required. Thus, move .Pp and text before the .Bl,
and remove the .Pp altogether where it is not needed.
Syntax errors found by mandoc(1), also required to fix the mandoc build;
feedback and ok jmc@, and sobrado@ also supports the direction.
Diffstat (limited to 'share/man/man7')
-rw-r--r-- | share/man/man7/mdoc.7 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man7/mdoc.7 b/share/man/man7/mdoc.7 index 41eb4202223..e5bd850f6ca 100644 --- a/share/man/man7/mdoc.7 +++ b/share/man/man7/mdoc.7 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mdoc.7,v 1.41 2009/04/23 15:37:14 sobrado Exp $ +.\" $OpenBSD: mdoc.7,v 1.42 2010/01/03 16:43:45 schwarze Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)mdoc.7 8.2 (Berkeley) 12/30/93 .\" -.Dd $Mdocdate: April 23 2009 $ +.Dd $Mdocdate: January 3 2010 $ .Dt MDOC 7 .Os .Sh NAME @@ -67,8 +67,8 @@ formatting packages. .Ss Title Macros To create a valid manual page, these three macros, in this order, are required: -.Bl -tag -width "xxxx.Os OPERATINGxSYSTEM [version/release]" -compact .Pp +.Bl -tag -width "xxxx.Os OPERATINGxSYSTEM [version/release]" -compact .It Li "\&.Dd $\&Mdocdate$" Expands to document date. .It Li "\&.Dt " Ar "DOCUMENT_TITLE [section] [volume]" |