inconsistent error mesgs (1.7)
Rainer Müller
raimue at macports.org
Mon Dec 29 13:55:28 PST 2008
William Davis wrote:
> Perhaps the unexpanded pseudo-port name ought to appear in the
> message, eg:
> No {pseudo-list} ports found
You can specify multiple pseudo-ports together with real ports and even
use logical statements with and/or/not.
For example:
sudo port upgrade outdated and not \( vim bash \)
=> This would upgrade all outdated ports except vim and bash.
The error message you are seeing only appears if expanding *all* of the
given port arguments returns an empty set. By default, lists without
operator are assumed to be concatenated by the 'or' operation.
Maybe the error message should be:
$ sudo port upgrade {portlist}
Error: '{portlist}' did not match any ports
That should fit all needs, right?
Rainer
More information about the macports-users
mailing list