Russ Brown wrote:
Excellent, good spot: especially considering that the option isn't
mentioned anywhere in the man page... I also tried 'equery --help' but
nothing there either. It hadn't occurred to me to just try running the
command with no package argument.

$ equery uses --help Display USE flags for a given package

Syntax:
  uses <local-opts> pkgspec
<local-opts> is either of:
  -a, --all     - include non-installed packages

On a related issue, etcat has the very useful 'versions' command which
lists all versions of the package in portage along with their
masked/installed status. I can't find an equivalent in equery, but I'm
now starting to wonder if it is there but undocumented. Any ideas? If I
can find something to do that I can stop using etcat completely. :-)

$ equery --help ... list(l) <local-opts> pkgspec - list all packages matching pkgspec ...

$ equery list --help
List all packages matching a query pattern
Syntax:
  list <local-opts> pkgspec
<local-opts> is either of:
  -i, --installed         - search installed packages (default)
  -I, --exclude-installed - do not search installed packages
  -p, --portage-tree      - also search in portage tree (/usr/portage)
  -o, --overlay-tree      - also search in overlay tree (/usr/local/portage)

$ equery list -p -o mplayer
[ Searching for package 'mplayer' in all categories among: ]
 * installed packages
 * Portage tree (/usr/portage)
[-P-] [  ] media-video/mplayer-1.0_pre4-r7 (0)
[-P-] [M~] media-video/mplayer-1.0_pre5-r4 (0)
[-P-] [  ] media-video/mplayer-1.0_pre5-r5 (0)
[-P-] [M~] media-video/mplayer-1.0_pre5-r2 (0)
[-P-] [M~] media-video/mplayer-1.0_pre5-r3 (0)
[-P-] [M~] media-video/mplayer-1.0_pre6-r1 (0)
[-P-] [M~] media-video/mplayer-1.0_pre6-r2 (0)
[-P-] [  ] x11-themes/mplayer-skins-0.2-r3 (0)
[-P-] [M~] x11-themes/mplayer-skins-0.2-r4 (0)
 * overlay tree (/usr/local/portage)

Christoph
--
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Reply via email to