Bug #3651 | long options wrongly accept "--option arg" whereas only --option=arg should | ||
---|---|---|---|
Submitted: | 4 May 2004 17:03 | Modified: | 4 May 2004 21:50 |
Reporter: | Guilhem Bichot | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | 4.0 | OS: | Linux (Linux at least) |
Assigned to: | Sergei Golubchik | CPU Architecture: | Any |
[4 May 2004 17:03]
Guilhem Bichot
[4 May 2004 21:50]
Sergei Golubchik
Unfortunately - as I don't like this behaviour either - it happend to be the way GNU getopt works. my_getopt is trying to be compatible. $ man 3 getopt ... A long option may take a parameter, of the form --arg=param or --arg param. ... $ tar --create --file --gzip . $ ls ... --gzip ... $