aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-05-26 09:26:16 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-05-26 09:26:16 +0000
commitd5be9ce161a224472554ef4e69c35d03cb6e0e2d (patch)
treeabe4302795c6aa96d53fb5f21c0fc176df98f3b4 /mdoc.7
parent2a0ea14f99cf58c73ef77bab9135cd3f9f72d944 (diff)
downloadmandoc-d5be9ce161a224472554ef4e69c35d03cb6e0e2d.tar.gz
mandoc-d5be9ce161a224472554ef4e69c35d03cb6e0e2d.tar.zst
mandoc-d5be9ce161a224472554ef4e69c35d03cb6e0e2d.zip
Noticed that our skeleton mdoc.7 had lower-case `Dt'. Fixed and added
some language for clarity.
Diffstat (limited to 'mdoc.7')
-rw-r--r--mdoc.713
1 files changed, 7 insertions, 6 deletions
diff --git a/mdoc.7 b/mdoc.7
index e52eb49f..5bd8aa10 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.7,v 1.187 2011/05/21 15:55:42 schwarze Exp $
+.\" $Id: mdoc.7,v 1.188 2011/05/26 09:26:16 kristaps Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -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: May 21 2011 $
+.Dd $Mdocdate: May 26 2011 $
.Dt MDOC 7
.Os
.Sh NAME
@@ -296,19 +296,20 @@ sections, although this varies between manual sections.
.Pp
The following is a well-formed skeleton
.Nm
-file:
+file for a utility
+.Qq progname :
.Bd -literal -offset indent
\&.Dd $\&Mdocdate$
-\&.Dt mdoc 7
+\&.Dt PROGNAME section
\&.Os
\&.Sh NAME
-\&.Nm foo
+\&.Nm progname
\&.Nd a description goes here
\&.\e\*q .Sh LIBRARY
\&.\e\*q For sections 2, 3, & 9 only.
\&.\e\*q Not used in OpenBSD.
\&.Sh SYNOPSIS
-\&.Nm foo
+\&.Nm progname
\&.Op Fl options
\&.Ar
\&.Sh DESCRIPTION