Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346349 - options that accept "n" should also accept "y"
Summary: options that accept "n" should also accept "y"
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 344799 (view as bug list)
Depends on:
Blocks: 346909
  Show dependency tree
 
Reported: 2010-11-21 18:15 UTC by Petteri Räty (RETIRED)
Modified: 2010-11-27 18:26 UTC (History)
1 user (show)

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 Petteri Räty (RETIRED) gentoo-dev 2010-11-21 18:15:34 UTC
# emerge -av --depclean --complete-graph=y "=ruby-1.9.2"
Usage: emerge [options]

emerge: error: option --complete-graph: invalid choice: 'y' (choose from 'True', 'n')

Being able to use "y" would be nicer.
Comment 1 Daniel Pielmeier gentoo-dev 2010-11-21 19:36:06 UTC
The same goes for --autounmask which also accepts either 'True' or 'n', while for instance --with-bdeps requires 'y' or 'n'. Would be good to have a consistent behavior here.
Comment 2 Zac Medico gentoo-dev 2010-11-21 23:46:30 UTC
There are a number of options like this. I'm going to add 'y' support for all of them.
Comment 4 Zac Medico gentoo-dev 2010-11-24 02:23:46 UTC
*** Bug 344799 has been marked as a duplicate of this bug. ***
Comment 5 Zac Medico gentoo-dev 2010-11-25 06:18:39 UTC
The is in 2.2.0_alpha5, but I'll leave this bug open until it's in an unmasked release.
Comment 6 Zac Medico gentoo-dev 2010-11-27 18:26:47 UTC
This is fixed in 2.1.9.25.