summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/misc/mdoc.template18
1 files changed, 10 insertions, 8 deletions
diff --git a/share/misc/mdoc.template b/share/misc/mdoc.template
index c85db15..53b4021 100644
--- a/share/misc/mdoc.template
+++ b/share/misc/mdoc.template
@@ -1,27 +1,29 @@
.\" $FreeBSD$
.\"
.\" The following requests are required for all man pages.
-.Dd DATE
-.Os
-.Dt DOCUMENT_TITLE MANUAL_SECTION#
+.Dd Month day, year
+.Os [OPERATING_SYSTEM] [version/release]
+.Dt DOCUMENT_TITLE [section number] [architecture/volume]
.Sh NAME
.Nm name
.Nd one line description of name
+.\" This next request is for sections 2 and 3 only.
+.\" .Sh LIBRARY
.Sh SYNOPSIS
.Sh DESCRIPTION
.\" The following requests should be uncommented and used where appropriate.
.\" .Sh IMPLEMENTATION NOTES
-.\" This next request is for sections 2 and 3 function return values only.
+.\" This next request is for sections 2, 3 and 9 function return values only.
.\" .Sh RETURN VALUES
-.\" This next request is for sections 1, 6, 7 & 8 only
+.\" This next request is for sections 1, 6, 7 and 8 only.
.\" .Sh ENVIRONMENT
.\" .Sh FILES
.\" .Sh EXAMPLES
-.\" This next request is for sections 1, 6, 7 & 8 only
-.\" (command return values (to shell) and fprintf/stderr type diagnostics)
+.\" This next request is for sections 1, 6, 7, 8 and 9 only
+.\" (command return values (to shell) and fprintf/stderr type diagnostics).
.\" .Sh DIAGNOSTICS
.\" .Sh COMPATIBILITY
-.\" The next request is for sections 2 and 3 error and signal handling only.
+.\" This next request is for sections 2, 3 and 9 error and signal handling only.
.\" .Sh ERRORS
.\" .Sh SEE ALSO
.\" .Sh STANDARDS
OpenPOWER on IntegriCloud