Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94117 - let equery use unix options
Summary: let equery use unix options
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-26 14:12 UTC by Jonas Geiregat
Modified: 2009-10-20 18:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch that fixes this bug (equery-unix-options.patch,542 bytes, patch)
2005-05-26 16:15 UTC, Jonas Geiregat
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Geiregat 2005-05-26 14:12:05 UTC
Add support for --short and -s style of option 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
equery belongs /usr/bin/equery
equery b /usr/bin/equery

Expected Results:  
equery belongs /usr/bin/equery
equery b /usr/bin/equery
and
equery --belongs /usr/bin/equery
equery -b /usr/bin/equery
Comment 1 Jonas Geiregat 2005-05-26 16:15:06 UTC
Created attachment 59897 [details, diff]
patch that fixes this bug
Comment 2 Douglas Anderson 2009-02-19 08:25:21 UTC
I think it's time to close this bug. I've just rewritten the option handling for equery, and where previously the command was:
equery modname -a -b -c
you can now do:
equery modname -abc

Imagine if you could use -m, --modname instead of modname, you'd have an option parsing nightmare where this would be legal:
equery -mabc

There are other concerns, for example, where:
equery files --filter=bla
could become:
equery -f -f bla

Let's close it.