summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-20 23:43:29 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-20 23:43:29 +0000
commit979c017e3118b6c0e397019e24ef36cdaf2e4e40 (patch)
tree3c851e8a7ca7527f0aed55eaef7ccd3fe3cad710
parent048d0b5a75b5a7432e31ddbd4cd516f2eb071b25 (diff)
downloadportage-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__.py2
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)