port -q -v differs from port -v -q

Rainer Müller raimue at macports.org
Fri Sep 24 13:43:10 PDT 2010


On 2010-09-24 22:24 , Ryan Schmidt wrote:
> I just noticed that "port -q -v" is not the same as "port -v -q":
> 
> 
> $ port -v -q installed zlib
>   zlib @1.2.5_0+universal (active)
> $ port -q -v installed zlib
>   zlib @1.2.5_0+universal (active) platform='darwin 10' archs='i386 x86_64'
> 
> 
> This is confusing, isn't it?

Hm, the bug is that -q resets -v and -d, but they both do not reset -q.

Probably it would make more sense if -q would not change -v or -d. We
could handle them as 3 distinct output levels, but then it would not be
possible to hide headers ("The following ports are currently
installed:") while still seeing "platforms" and "archs" output.

Rainer


More information about the macports-dev mailing list