From ec23315f9b165cd1a759e42bd375b4747b905771 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 19 Mar 1999 02:17:38 +0000 Subject: 1999-03-16 Andreas Jaeger * manual/getopt.texi (Using Getopt): Explain "::" in option string. Reported by Yuri Niyazov . 1999-03-16 Andreas Jaeger * manual/getopt.texi (Using Getopt): Explain "::" in option string. Reported by Yuri Niyazov . --- ChangeLog | 5 +++++ manual/getopt.texi | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ee7358b3db..ee9bb10176 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-03-16 Andreas Jaeger + + * manual/getopt.texi (Using Getopt): Explain "::" in option + string. Reported by Yuri Niyazov . + 1999-03-18 Thorsten Kukuk * 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 -- cgit 1.4.1