Obey the silent parameter when parsing options.
authorZac Medico <zmedico@gentoo.org>
Sat, 13 Jan 2007 03:52:48 +0000 (03:52 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 13 Jan 2007 03:52:48 +0000 (03:52 -0000)
svn path=/main/trunk/; revision=5627

bin/emerge

index d73368b51673d8b93a58f37c0875e0b08ac77a01..e73e5e40ca580483bafb35092c44ea232aba436d 100755 (executable)
@@ -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: