summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-07-31 17:42:50 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-07-31 17:42:50 +0000
commit4eb46d9c38b9caa455be905a366745b49db6e36e (patch)
treed9275c80a2ab48e9ecd3b495201f1a842afb02ba
parent23c1ecb825e5429de67aa7800cf8af68f59097d2 (diff)
downloadmandoc-4eb46d9c38b9caa455be905a366745b49db6e36e.tar.gz
mandoc-4eb46d9c38b9caa455be905a366745b49db6e36e.tar.zst
mandoc-4eb46d9c38b9caa455be905a366745b49db6e36e.zip
trivial fixes found while merging to OpenBSD:
* ellipsis is an argument to .Ar, not part of the preceding argument * libz, libpam, on, off are not placeholders for arguments * .Rv is not only relevant for system calls, see atexit(3), sem_init(3)
-rw-r--r--mdoc.716
1 files changed, 8 insertions, 8 deletions
diff --git a/mdoc.7 b/mdoc.7
index fc5d771a..50b19c90 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.7,v 1.192 2011/07/31 17:30:33 schwarze Exp $
+.\" $Id: mdoc.7,v 1.193 2011/07/31 17:42:50 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -1828,7 +1828,7 @@ Insert a standard sentence regarding command exit values of 0 on success
and >0 on failure.
Its syntax is as follows:
.Pp
-.D1 Pf \. Sx \&Ex Fl std Op Ar utility...
+.D1 Pf \. Sx \&Ex Fl std Op Ar utility ...
.Pp
If
.Ar utility
@@ -2125,9 +2125,9 @@ The syntax is as follows:
The
.Ar library
parameter may be a system library, such as
-.Ar libz
+.Cm libz
or
-.Ar libpam ,
+.Cm libpam ,
in which case a small library description is printed next to the linker
invocation; or a custom library, in which case the library name is
printed in quotes.
@@ -2469,13 +2469,13 @@ block is used within a SEE ALSO section, a vertical space is asserted
before the rendered output, else the block continues on the current
line.
.Ss \&Rv
-Insert a standard sentence regarding a system call's return value of 0
+Insert a standard sentence regarding a function call's return value of 0
on success and \-1 on error, with the
.Va errno
libc global variable set on error.
Its syntax is as follows:
.Pp
-.D1 Pf \. Sx \&Rv Fl std Op Ar function...
+.D1 Pf \. Sx \&Rv Fl std Op Ar function ...
.Pp
If
.Ar function
@@ -2513,9 +2513,9 @@ Its syntax is as follows:
.D1 Pf \. Sx \&Sm Cm on | off
.Pp
By default, spacing is
-.Ar on .
+.Cm on .
When switched
-.Ar off ,
+.Cm off ,
no white space is inserted between macro arguments and between the
output generated from adjacent macros, but text lines
still get normal spacing between words and sentences.