Opened 15 years ago
Closed 15 years ago
#22881 closed defect (fixed)
whois --version doesn't work
Reported by: | vinc17@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | getopt | Cc: | |
Port: | whois |
Description
With whois 4.7.37, I get:
$ whois --version whois: illegal option -- - Usage: whois [OPTION]... OBJECT... [...] --verbose explain what is being done --help display this help and exit --version output version information and exit
This bug is specific to Mac OS X (no such problem under Linux with the same version). The attached patch (whose goal is to use getopt) solves the problem on my machine.
Attachments (1)
Change History (4)
comment:1 Changed 15 years ago by vinc17@…
Changed 15 years ago by vinc17@…
Attachment: | whois.patch added |
---|
patch (new version, without the useless dependency)
comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Status: | new → assigned |
---|
Thanks, I had noticed this before but didn't know how to fix it.
comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in r61531.
Note: See
TracTickets for help on using
tickets.
Actually it seems that the dependency on getopt is unnecessary (the getopt port just provides a binary, not a library).