From 000454d4e2982178ef602f11954be5fd3a7ae08e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 8 Dec 2006 02:32:07 +0000 Subject: [PATCH] Avoid bogus 'Deprecated use of action' warnings for valid commands such as `emerge -s sync`. svn path=/main/trunk/; revision=5218 --- bin/emerge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2