summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-01-14 21:07:56 +0000
committerru <ru@FreeBSD.org>2005-01-14 21:07:56 +0000
commit4627268189e2eb8a0c83b089b14bbcd861bf4df5 (patch)
treeae9dd65873d3aadb3d4e688823c57626a6334fd5 /lib
parent6d1e88efa36384c3d2a311cb355690d7385ae2b7 (diff)
downloadFreeBSD-src-4627268189e2eb8a0c83b089b14bbcd861bf4df5.zip
FreeBSD-src-4627268189e2eb8a0c83b089b14bbcd861bf4df5.tar.gz
Markup fixes.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/getopt_long.312
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/stdlib/getopt_long.3 b/lib/libc/stdlib/getopt_long.3
index f615ea7..e36ff84 100644
--- a/lib/libc/stdlib/getopt_long.3
+++ b/lib/libc/stdlib/getopt_long.3
@@ -133,7 +133,7 @@ field should be one of:
no argument to the option is expect
.It Dv required_argument
an argument to the option is required
-.It Li optional_argument
+.It Dv optional_argument
an argument to the option may be presented.
.El
.Pp
@@ -190,7 +190,7 @@ the single-character option is returned.
If the
.Fa flag
field in
-.Li struct option
+.Vt "struct option"
is
.Dv NULL ,
.Fn getopt_long
@@ -451,7 +451,7 @@ to current positions) are the same, though.
(We do fewer variable swaps.)
.El
.Sh ENVIRONMENT
-.Bl -tag -width POSIXLY_CORRECT
+.Bl -tag -width ".Ev POSIXLY_CORRECT"
.It Ev POSIXLY_CORRECT
If set, option processing stops when the first non-option is found and
a leading
@@ -459,7 +459,7 @@ a leading
or
.Ql +
in the
-.Ar optstring
+.Fa optstring
is ignored.
.El
.Sh SEE ALSO
@@ -494,9 +494,9 @@ in
.Fx 5.2 .
.Sh BUGS
The
-.Ar argv
+.Fa argv
argument is not really
-.Dv const
+.Vt const
as its elements may be permuted (unless
.Ev POSIXLY_CORRECT
is set).
OpenPOWER on IntegriCloud