[Bug manual/4690] getopt_long "--arg=val" and "--arg val" are not the same for "optional_argument"
jakub at redhat dot com
sourceware-bugzilla@sourceware.org
Mon Jul 2 15:39:00 GMT 2007
------- Additional Comments From jakub at redhat dot com 2007-07-02 15:38 -------
Can you cite where you saw the two forms are interchangeable?
E.g. man getopt:
A long option normally begins with `--' followed by the long option name. If
the option has a required
argument, it may be written directly after the long option name, separated by
`=', or as the next argument
(ie. separated by whitespace on the command line). If the option has an
optional argument, it must be
written directly after the long option name, separated by `=', if present (if
you add the `=' but nothing
behind it, it is interpreted as if no argument was present; this is a slight
bug, see the BUGS).
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=4690
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Glibc-bugs
mailing list