summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1999-03-19 02:17:38 +0000
committerAndreas Schwab <schwab@suse.de>1999-03-19 02:17:38 +0000
commitec23315f9b165cd1a759e42bd375b4747b905771 (patch)
treec650ee2861360e18c3cf4db6da2f43e0e6489cfa
parentd1275afec4c36467edc1da9c0ebcbf54f89ef262 (diff)
1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de> cvs/libc-as-990319
* manual/getopt.texi (Using Getopt): Explain "::" in option string. Reported by Yuri Niyazov <yuricake@geocities.com>. 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/getopt.texi (Using Getopt): Explain "::" in option string. Reported by Yuri Niyazov <yuricake@geocities.com>.
-rw-r--r--ChangeLog5
-rw-r--r--manual/getopt.texi3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ee7358b3db..ee9bb10176 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
+
+ * manual/getopt.texi (Using Getopt): Explain "::" in option
+ string. Reported by Yuri Niyazov <yuricake@geocities.com>.
+
1999-03-18 Thorsten Kukuk <kukuk@suse.de>
* sunrpc/clnt_unix.c: Fix creation of parameters for
diff --git a/manual/getopt.texi b/manual/getopt.texi
index 8e1102f911..f3934d0cfe 100644
--- a/manual/getopt.texi
+++ b/manual/getopt.texi
@@ -68,7 +68,8 @@ Normally these values come directly from the arguments received by
The @var{options} argument is a string that specifies the option
characters that are valid for this program. An option character in this
string can be followed by a colon (@samp{:}) to indicate that it takes a
-required argument.
+required argument. If an option character is followed by two colons
+(@samp{::}), its argument is optional; this is a GNU extension.
If the @var{options} argument string begins with a hyphen (@samp{-}), this
is treated specially. It permits arguments that are not options to be