From: Zac Medico Date: Wed, 20 Jun 2007 23:43:29 +0000 (-0000) Subject: Use the the optparse options for --ignore-default-opts since that allows option abrev... X-Git-Tag: v2.2_pre1~1213 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=979c017e3118b6c0e397019e24ef36cdaf2e4e40;p=portage.git Use the the optparse options for --ignore-default-opts since that allows option abreviation to work. svn path=/main/trunk/; revision=6890 --- 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)