summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-20 23:44:11 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-20 23:44:11 +0000
commitc480635dc843170ce13b25ad0863264c281f1ea0 (patch)
treeeaf4c7d3da41002b0d967b83471784683f6bf425 /bin
parentf7985dbe16fd385e117845c12b2fca22f63d2a50 (diff)
downloadportage-c480635dc843170ce13b25ad0863264c281f1ea0.tar.gz
portage-c480635dc843170ce13b25ad0863264c281f1ea0.tar.bz2
portage-c480635dc843170ce13b25ad0863264c281f1ea0.zip
Use the the optparse options for --ignore-default-opts since that allows option abreviation to work. (trunk r6890)
svn path=/main/branches/2.1.2/; revision=6891
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index f02b77c60..7ee4c3f0a 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -5304,7 +5304,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)