projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
605c793
)
- do not complain about redundant use of pretend and verbose flags
author
Ned Ludd
<solar@gentoo.org>
Mon, 19 Jun 2006 01:37:30 +0000
(
01:37
-0000)
committer
Ned Ludd
<solar@gentoo.org>
Mon, 19 Jun 2006 01:37:30 +0000
(
01:37
-0000)
svn path=/main/trunk/; revision=3534
bin/emerge
patch
|
blob
|
history
diff --git
a/bin/emerge
b/bin/emerge
index 8cd9f367640f7a5da30153d4503cf5111c5860d9..5ff9f07ace23fed8277a190592162ad765b829dc 100755
(executable)
--- a/
bin/emerge
+++ b/
bin/emerge
@@
-258,8
+258,9
@@
for x in tmpcmdline:
for y in x[1:]:
if shortmapping.has_key(y):
if shortmapping[y] in cmdline:
- print
- print "*** Warning: Redundant use of",shortmapping[y]
+ if not shortmapping[y] in ("--verbose", "--pretend"):
+ print
+ print "*** Warning: Redundant use of",shortmapping[y]
else:
cmdline.append(shortmapping[y])
else: