#17477: Integrate *_select tools into port ------------------------------+--------------------------------------------- Reporter: blb@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts 1.8.0 Component: base | Version: 1.7.0 Keywords: select | Port: ------------------------------+--------------------------------------------- Comment(by kngspook@…): Replying to [comment:2 raimue@…]:
Some additional thoughts about the syntax, I would prefer: {{{ port select [--set|--list] <group> }}}
Well, that might imply/be interpreted by a lot of people that "--set" and "--list" are optional. If we go that route, then maybe some additional logic should be in place that basically states: * if they give only `port select something`, then treat it like a list command * if they give `port select something valid-selection`, then treat it like a set command * if they give `port select something invalid-selection`, then show an error stating as such and give them the list of valid picks. -- Ticket URL: <http://trac.macports.org/ticket/17477#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS