#22881: whois --version doesn't work ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: getopt | Port: whois ---------------------------------+------------------------------------------ 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. -- Ticket URL: <http://trac.macports.org/ticket/22881> MacPorts <http://www.macports.org/> Ports system for Mac OS