Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 293461

Summary: equery hasuse -I | --exclude-installed is in manpage but not implemented
Product: Portage Development Reporter: chris <topher.wheeler>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description chris 2009-11-17 07:07:29 UTC
the --exclude-installed (-I) flag to equery's 'hasuse' option is not implemented, but it is listed in the manpage

Reproducible: Always

Steps to Reproduce:
1.equery hasuse -I jack
2.
3.

Actual Results:  
!!! You must specify one of -i, -p or -o


man equery excerpt:

hasuse <local-opts> useflag
              This command lists packages matching a particular USE flag in a user-specified combination of  installed  packages,  packages
              which are not installed, the portage tree, and the portage overlay tree.

              <local-opts> must not include only -I; if -I is used, -p and/or -o must be also be present.  By default, only installed pack-
              ages are searched.  -o searches only the overlay tree [and possibly installed packages], not the main portage tree.

              -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)


****
gentoolkit version 0.2.4.5
Comment 1 chris 2009-11-17 07:12:21 UTC
SORRY!!  I didn't see that it also needs 'o' or 'p' until I copy/pasted the manpage excerpt!!