summaryrefslogtreecommitdiff
path: root/share/misc
diff options
context:
space:
mode:
authorIan Darwin <ian@cvs.openbsd.org>1999-12-05 03:15:43 +0000
committerIan Darwin <ian@cvs.openbsd.org>1999-12-05 03:15:43 +0000
commit4b9a6f3f85a1fdfbc03a610a30f64de968cb074c (patch)
treed819b239f9f04341136c72fc8455e80059e28b43 /share/misc
parentb8e257c81b534ff099e6f64a32f51ba918b74208 (diff)
Flesh out the template a bit (ok aaron).
Diffstat (limited to 'share/misc')
-rw-r--r--share/misc/mdoc.template14
1 files changed, 12 insertions, 2 deletions
diff --git a/share/misc/mdoc.template b/share/misc/mdoc.template
index 0ce1a10a43e..2d8c1e3ee1d 100644
--- a/share/misc/mdoc.template
+++ b/share/misc/mdoc.template
@@ -1,10 +1,19 @@
.\" The following requests are required for all man pages.
-.Dd DATE
-.Dt DOCUMENT_TITLE
+.Dd Month DD, YYYY
+.Dt NAME SECTION
.Os
.Sh NAME
+.Nm program
+.Nd one line about what it does
.Sh SYNOPSIS
+.\" For a program: program [-abc] files...
+.Nm program
+.Op Fl abc
+.Op Ar
.Sh DESCRIPTION
+The
+.Nm
+utility processes files ...
.\" The following requests should be uncommented and used where appropriate.
.\" This next request is for sections 2 and 3 function return values only.
.\" .Sh RETURN VALUES
@@ -18,6 +27,7 @@
.\" The next request is for sections 2 and 3 error and signal handling only.
.\" .Sh ERRORS
.\" .Sh SEE ALSO
+.\" .Xr foobar 1
.\" .Sh STANDARDS
.\" .Sh HISTORY
.\" .Sh AUTHORS