summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-01-13 03:52:48 +0000
committerZac Medico <zmedico@gentoo.org>2007-01-13 03:52:48 +0000
commit80352bad13bad3295c0f3c38129c6157e0f07e65 (patch)
tree0847b9c9efb19fe05fb52b122986aa2ecd1a5309
parent2d08d7485e83add70ea52e5c7d419f177581f835 (diff)
downloadportage-80352bad13bad3295c0f3c38129c6157e0f07e65.tar.gz
portage-80352bad13bad3295c0f3c38129c6157e0f07e65.tar.bz2
portage-80352bad13bad3295c0f3c38129c6157e0f07e65.zip
Obey the silent parameter when parsing options.
svn path=/main/trunk/; revision=5627
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index d73368b51..e73e5e40c 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -4835,7 +4835,7 @@ def parse_opts(tmpcmdline, silent=False):
for x in myargs:
if x in actions and myaction != "search":
- if x not in ["system", "world"]:
+ if not silent and x not in ["system", "world"]:
print red("*** Deprecated use of action '%s', use '--%s' instead" % (x,x))
# special case "search" so people can search for action terms, e.g. emerge -s sync
if myaction: