[MacPorts] #44507: port select usage string issue(s)
#44507: port select usage string issue(s) -----------------------------+-------------------------------- Reporter: ora.et.labora@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Low | Milestone: Component: base | Version: 2.3.1 Keywords: | Port: -----------------------------+-------------------------------- The usage string of `port select` is not entirely correct and thus confusing: {{{ $ port select Error: port select [--list|--set|--show|--summary] <group> [<version>] # ok, so a *group* argument is mandatory, right? $ port select --summary mysql Warning: The 'summary' command does not expect any arguments. Extra arguments will be ignored. [..] }}} Obviously not. Thus, the usage string must be: {{{ $ port select Error: usage: port select [--list|--show] <group> port select --set <group> <version> port select --summary }}} My personnel taste on this is to have one __action__ per task, i.e. {{{ $ port select-set mysql mysql56 $ port select-list mysql $ port select-summary $ port select-show mysql }}} -- Ticket URL: <https://trac.macports.org/ticket/44507> MacPorts <http://www.macports.org/> Ports system for OS X
#44507: port select usage string issue(s) ------------------------------+----------------------------- Reporter: ora.et.labora@… | Owner: cal@… Type: defect | Status: assigned Priority: Low | Milestone: MacPorts Future Component: base | Version: 2.3.1 Resolution: | Keywords: Port: | ------------------------------+----------------------------- Changes (by cal@…): * status: new => assigned * owner: macports-tickets@… => cal@… * milestone: => MacPorts Future -- Ticket URL: <https://trac.macports.org/ticket/44507#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44507: port select usage string issue(s) ------------------------------+----------------------------- Reporter: ora.et.labora@… | Owner: cal@… Type: defect | Status: closed Priority: Low | Milestone: MacPorts Future Component: base | Version: 2.3.1 Resolution: fixed | Keywords: Port: | ------------------------------+----------------------------- Changes (by cal@…): * status: assigned => closed * resolution: => fixed Comment: Thanks, r122827, in the next MacPorts release. I agree we could have separate actions, but I'm not sure the change is worth breaking the existing setup (which users are used to by now). Patches (that possibly add this as optional new variant and deprecate the old one) always welcome, though. -- Ticket URL: <https://trac.macports.org/ticket/44507#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts