diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-12-08 02:32:07 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-12-08 02:32:07 +0000 |
commit | 000454d4e2982178ef602f11954be5fd3a7ae08e (patch) | |
tree | a2ac5be2ea5c3e28ddc8d405566a9e09c65bea78 | |
parent | 3cba4f460686303d6ab426585d9b726eeac3d3b7 (diff) | |
download | portage-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
-rwxr-xr-x | bin/emerge | 2 |
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 |