Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284083 - emerge should be more stringent in naming the arguments (--foo-only vs --baronly)
Summary: emerge should be more stringent in naming the arguments (--foo-only vs --baro...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-08 07:45 UTC by Justin Lecher (RETIRED)
Modified: 2018-02-02 00:57 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2009-09-08 07:45:43 UTC
There are two things which are not stringent in the flag naming. First the position of only varies between front and end,

--onlydeps
--buildpkgonly
--fetchonly
--getbinpkgonly
--usepkgonly

And second, the use of hyphens also varies 

--list-sets
--searchdesc

--binpkg-respect-use
--buildpkg
--buildpkgonly
--complete-graph
--config-root

--fetchonly
--fetch-all-uri

--getbinpkg
--getbinpkgonly
--keep-going
--load-average

--root-deps
--usepkgonly
--with-bdeps
Comment 1 Alec Warner (RETIRED) archtester gentoo-dev Security 2009-09-08 20:11:50 UTC
This is pretty low hanging fruit; I highly recommend providing a patch against both emerge, emergehelp, and the manpages.

-A
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2009-09-08 20:27:17 UTC
It shouldn't sound like high priority, I just often mix --onlydeps and --fetchonly to --onlyfetch or so.
I will take a look at it and provide a patch.