[MacPorts] #22881: whois --version doesn't work
#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
#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 ---------------------------------+------------------------------------------ Comment(by vinc17@…): Actually it seems that the dependency on getopt is unnecessary (the getopt port just provides a binary, not a library). -- Ticket URL: <http://trac.macports.org/ticket/22881#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22881: whois --version doesn't work ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: getopt | Port: whois ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * status: new => assigned Comment: Thanks, I had noticed this before but didn't know how to fix it. -- Ticket URL: <http://trac.macports.org/ticket/22881#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22881: whois --version doesn't work ----------------------------------+----------------------------------------- Reporter: vinc17@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: getopt Port: whois | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Fixed in r61531. -- Ticket URL: <http://trac.macports.org/ticket/22881#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts