From: Zac Medico Date: Fri, 8 Dec 2006 02:32:07 +0000 (-0000) Subject: Avoid bogus 'Deprecated use of action' warnings for valid commands such as `emerge... X-Git-Tag: v2.1.2~362 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=000454d4e2982178ef602f11954be5fd3a7ae08e;p=portage.git Avoid bogus 'Deprecated use of action' warnings for valid commands such as `emerge -s sync`. svn path=/main/trunk/; revision=5218 --- 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