projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cba4f4
)
Avoid bogus 'Deprecated use of action' warnings for valid commands such as `emerge...
author
Zac Medico
<zmedico@gentoo.org>
Fri, 8 Dec 2006 02:32:07 +0000
(
02:32
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 8 Dec 2006 02:32:07 +0000
(
02:32
-0000)
svn path=/main/trunk/; revision=5218
bin/emerge
patch
|
blob
|
history
diff --git
a/bin/emerge
b/bin/emerge
index 7abf5271415478451166eba544b642b99248bc83..5dd4c2018dde4cdaa60159d3298064531b5dd638 100755
(executable)
--- 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