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)

whois.patch (1.2 KB) - added by vinc17@… 15 years ago.
patch (new version, without the useless dependency)

Download all attachments as: .zip

Change History (4)

comment:1 Changed 15 years ago by vinc17@…

Actually it seems that the dependency on getopt is unnecessary (the getopt port just provides a binary, not a library).

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: newassigned

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: assignedclosed

Fixed in r61531.

Note: See TracTickets for help on using tickets.