summaryrefslogtreecommitdiff
path: root/manual/getopt.texi
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 /manual/getopt.texi
parentd1275afec4c36467edc1da9c0ebcbf54f89ef262 (diff)
downloadglibc-ec23315f9b165cd1a759e42bd375b4747b905771.tar.gz
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>.
Diffstat (limited to 'manual/getopt.texi')
-rw-r--r--manual/getopt.texi3
1 files changed, 2 insertions, 1 deletions
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