Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 344799 - sys-apps/portage-2.2.0_alpha4: emerge --buildpkg=y not supported
Summary: sys-apps/portage-2.2.0_alpha4: emerge --buildpkg=y not supported
Status: RESOLVED DUPLICATE of bug 346349
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-11-09 12:52 UTC by Dennis Schridde
Modified: 2010-11-24 02:23 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 Dennis Schridde 2010-11-09 12:52:32 UTC
Trying to run "emerge --buildpkg=y", emerge replies:
# emerge: error: option --buildpkg: invalid choice: 'y' (choose from 'True', 'n')

Choosing from "True" and "n" seems a bit inconsistent. I would expect either "True"/"False" or "y"/"n".

Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2010-11-09 16:09:43 UTC
(In reply to comment #0)
> Trying to run "emerge --buildpkg=y", emerge replies:
> # emerge: error: option --buildpkg: invalid choice: 'y' (choose from 'True',
> 'n')

It's really a quirk of the way that the option parsing is implemented. When it says 'True', that means that you can simply use --buildpkg without any need to specify an argument.

Anyway, people complain about this commonly enough that I think we should support the 'y' argument for all options that support 'n'.
Comment 2 Zac Medico gentoo-dev 2010-11-24 02:23:46 UTC

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