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

Bug 27264

Summary: emerge: Inclusion of proper long options
Product: Portage Development Reporter: Alexander Winston <alexander.winston>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for emerge itself.
Patch for emergehelp.py.

Description Alexander Winston 2003-08-24 21:05:14 UTC
Right now, emerge has awkward long options. It would be best to rewrite them so
that they are displayed in a clear, concise manner; abbreviated options are for
short options. e.g.:

--buildpkg      ->  --build-package
--buildpkgonly  ->  --build-package-only
--emptytree     ->  --empty-tree
--fetchonly     ->  --fetch-only
--getbinpkg     ->  --get-binary-package
--noconfmem     ->  --forget-configuration
--nodeps        ->  --no-dependencies
--noreplace     ->  --no-replace
--nospinner     ->  --no-spinner
--oneshot       ->  --once-only
--onlydeps      ->  --only-dependencies
--searchdesc    ->  --search-description
--skipfirst     ->  --skip-first
--upgradeonly   ->  --upgrade-only
--usepkg        ->  --use-package
--usepkgonly    ->  --use-package-only

I think everyone would agree that this change would make everything much easier
to both read and understand to outsiders and insiders to emerge alike.
Comment 1 Alexander Winston 2003-08-26 23:05:31 UTC
I was looking more for feedback
Comment 2 Alexander Winston 2003-08-26 23:05:31 UTC
I was looking more for feedback I guess Ill post a patch instead. :)
Comment 3 Alexander Winston 2003-08-27 01:19:55 UTC
Created attachment 16671 [details, diff]
Patch for emerge itself.
Comment 4 Alexander Winston 2003-08-27 01:20:31 UTC
Created attachment 16672 [details, diff]
Patch for emergehelp.py.
Comment 5 SpanKY gentoo-dev 2003-08-27 17:15:21 UTC

*** This bug has been marked as a duplicate of 2365 ***