summaryrefslogtreecommitdiffstats
path: root/mdoc.7
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-08-14 15:08:31 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-08-14 15:08:31 +0000
commit41ff27a472e8d41a4f16595bd7a581f464e4a2dc (patch)
treea9ad855eed759fb29912c4e57d99440629894448 /mdoc.7
parent35783c93c6366fa20e6ed5149c9c25091d01a222 (diff)
downloadmandoc-41ff27a472e8d41a4f16595bd7a581f464e4a2dc.tar.gz
Use text production macros to document themselves.
Part of the patch was sent in by Jan Stary <hans at stare dot cz>, another part was added by jmc@, the rest was added by myself; ok jmc@.
Diffstat (limited to 'mdoc.7')
-rw-r--r--mdoc.720
1 files changed, 15 insertions, 5 deletions
diff --git a/mdoc.7 b/mdoc.7
index 357404ec..eddc33e0 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -711,7 +711,9 @@ for fixed strings to be passed verbatim as arguments, use
or
.Sx \&Cm .
.Ss \&At
-Formats an AT&T version.
+Formats an
+.At
+version.
Accepts one optional argument:
.Pp
.Bl -tag -width "v[1-7] | 32vX" -offset indent -compact
@@ -1089,7 +1091,9 @@ Examples:
See also
.Sx \&Bro .
.Ss \&Bsx
-Format the BSD/OS version provided as an argument, or a default value if
+Format the
+.Bsx
+version provided as an argument, or a default value if
no argument is provided.
.Pp
Examples:
@@ -1109,7 +1113,9 @@ and
Prints
.Dq is currently in beta test.
.Ss \&Bx
-Format the BSD version provided as an argument, or a default value if no
+Format the
+.Bx
+version provided as an argument, or a default value if no
argument is provided.
.Pp
Examples:
@@ -1405,7 +1411,9 @@ for special-purpose constants and
.Sx \&Va
for variable symbols.
.Ss \&Dx
-Format the DragonFly BSD version provided as an argument, or a default
+Format the
+.Dx
+version provided as an argument, or a default
value if no argument is provided.
.Pp
Examples:
@@ -2474,7 +2482,9 @@ Examples:
Prints out
.Dq currently under development.
.Ss \&Ux
-Format the UNIX name.
+Format the
+.Ux
+name.
Accepts no argument.
.Pp
Examples: