Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2012 13:47:37 -0700
From:      Greg Byshenk <freebsd@byshenk.net>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: pkg version -Xs foo shows all ports, not just foo
Message-ID:  <20120410204737.GA1737@portland1.byshenk.net>
In-Reply-To: <20120410195541.GA62066@mech-cluster241.men.bris.ac.uk>
References:  <20120410195541.GA62066@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 10, 2012 at 08:55:41PM +0100, Anton Shterenlikht wrote:
> BUZI> pkg version -Xs Image
> CalculiX-2.4                       =
> GraphicsMagick-1.1.15_3,1          =
> ImageMagick-6.7.5.10               =
> ORBit2-2.14.19                     =
> OpenEXR-1.6.1_3                    =
> R-2.14.2                           =
> ^C
> BUZI> 
> 
> The man page seems to indicate that the
> above options should only show ImageMagick.
> 
> What am I doing wrong?


I'm not sure if it's a bug or a feature, but pkg_version seems to 
want the arguments separately.

	$ pkg_version -X -s Image
	ImageMagick                         =
	$ 

Although in this particular case, 'pkg_version -s Image' (without
the '-X') seems to do just fine, as well.


-- 
greg byshenk  -  gbyshenk@byshenk.net  -  Leiden, NL - Portland, OR USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120410204737.GA1737>