diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-06-20 23:43:29 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-06-20 23:43:29 +0000 |
commit | 979c017e3118b6c0e397019e24ef36cdaf2e4e40 (patch) | |
tree | 3c851e8a7ca7527f0aed55eaef7ccd3fe3cad710 | |
parent | 048d0b5a75b5a7432e31ddbd4cd516f2eb071b25 (diff) | |
download | portage-979c017e3118b6c0e397019e24ef36cdaf2e4e40.tar.gz portage-979c017e3118b6c0e397019e24ef36cdaf2e4e40.tar.bz2 portage-979c017e3118b6c0e397019e24ef36cdaf2e4e40.zip |
Use the the optparse options for --ignore-default-opts since that allows option abreviation to work.
svn path=/main/trunk/; revision=6890
-rw-r--r-- | pym/emerge/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 32b39d550..4dd0f395d 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -5461,7 +5461,7 @@ def emerge_main(): xterm_titles = "notitles" not in settings.features tmpcmdline = [] - if "--ignore-default-opts" not in sys.argv: + if "--ignore-default-opts" not in myopts: tmpcmdline.extend(settings["EMERGE_DEFAULT_OPTS"].split()) tmpcmdline.extend(sys.argv[1:]) myaction, myopts, myfiles = parse_opts(tmpcmdline) |