summaryrefslogtreecommitdiffstats
path: root/bin/emerge
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-12-08 02:32:07 +0000
committerZac Medico <zmedico@gentoo.org>2006-12-08 02:32:07 +0000
commit000454d4e2982178ef602f11954be5fd3a7ae08e (patch)
treea2ac5be2ea5c3e28ddc8d405566a9e09c65bea78 /bin/emerge
parent3cba4f460686303d6ab426585d9b726eeac3d3b7 (diff)
downloadportage-000454d4e2982178ef602f11954be5fd3a7ae08e.tar.gz
portage-000454d4e2982178ef602f11954be5fd3a7ae08e.tar.bz2
portage-000454d4e2982178ef602f11954be5fd3a7ae08e.zip
Avoid bogus 'Deprecated use of action' warnings for valid commands such as `emerge -s sync`.
svn path=/main/trunk/; revision=5218
Diffstat (limited to 'bin/emerge')
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 7abf52714..5dd4c2018 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -4311,7 +4311,7 @@ def parse_opts(tmpcmdline, silent=False):
myaction = action_opt
for x in myargs:
- if x in actions:
+ if x in actions and myaction != "search":
if 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