aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/getopt_long.3
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2004-03-01 17:57:05 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2004-03-01 17:57:05 +0000
commitf2fd86b76ea12bb6557e14f9ab52d4197a1cf99b (patch)
tree39dc47323f5d0499d1d4f22cf793307278e475a8 /lib/libc/stdlib/getopt_long.3
parent4fca7bd3dd2b178e6d1e34d533cbb526502c98ba (diff)
Improve GNU compatibility in several places, use internal GNU_COMPATIBLE
define for it. Don't catch POSIXLY_CORRECT env. into static variable, it can be changed on the fly by program. Use P1003.2 standartized illoptchar[]
Notes
svn path=/head/; revision=126452
Diffstat (limited to 'lib/libc/stdlib/getopt_long.3')
-rw-r--r--lib/libc/stdlib/getopt_long.338
1 files changed, 19 insertions, 19 deletions
diff --git a/lib/libc/stdlib/getopt_long.3 b/lib/libc/stdlib/getopt_long.3
index ffe5d0034c83..88738b020bd4 100644
--- a/lib/libc/stdlib/getopt_long.3
+++ b/lib/libc/stdlib/getopt_long.3
@@ -294,23 +294,23 @@ that use
as an option flag.
This practice is wrong, and should not be used in any current development.
.El
-.It
-Handling of
-.Ql ::
-in options string in presence of
-.Ev POSIXLY_CORRECT :
-.Bl -tag -width ".Bx"
-.It Both
-.Tn GNU
-and
-.Bx
-ignore
-.Ev POSIXLY_CORRECT
-here and take
-.Ql ::
-to
-mean the preceding option takes an optional argument.
-.El
+.\" .It
+.\" Handling of
+.\" .Ql ::
+.\" in options string in presence of
+.\" .Ev POSIXLY_CORRECT :
+.\" .Bl -tag -width ".Bx"
+.\" .It Both
+.\" .Tn GNU
+.\" and
+.\" .Bx
+.\" ignore
+.\" .Ev POSIXLY_CORRECT
+.\" here and take
+.\" .Ql ::
+.\" to
+.\" mean the preceding option takes an optional argument.
+.\" .El
.It
Return value in case of missing argument if first character
(after
@@ -435,8 +435,8 @@ set to
.Tn GNU Ns 's
man page documents).
.El
-.It
-The error messages are different.
+.\" .It
+.\" The error messages are different.
.It
.Bx
does not permute the argument vector at the same points in