diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | manual/getopt.texi | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -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 |