summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2006-02-19 04:55:17 +0000
committerMarius Mauch <genone@gentoo.org>2006-02-19 04:55:17 +0000
commitab67bfa58411836f4997524db4dd5d6c070ce32f (patch)
treeb0c24c587bf6cb8b89c9a4757f723b5a8a94cbe0 /bin
parent2bb5a2e867334fcab72502e507f3e5d812288dde (diff)
downloadportage-ab67bfa58411836f4997524db4dd5d6c070ce32f.tar.gz
portage-ab67bfa58411836f4997524db4dd5d6c070ce32f.tar.bz2
portage-ab67bfa58411836f4997524db4dd5d6c070ce32f.zip
deprecate 'emerge action' syntax in favor of 'emerge --action'
svn path=/main/trunk/; revision=2742
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/emerge b/bin/emerge
index e0be7e05e..e3636654d 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -271,8 +271,7 @@ for x in cmdline:
sys.exit(1)
elif (not myaction) and (x in actions):
if x not in ["system", "world"]:
- #print red("*** Deprecated use of action '"+x+"'")
- pass
+ print red("*** Deprecated use of action '%s', use '--%s' instead" % (x,x))
if myaction:
print
print red("!!!")+green(" Multiple actions requested... Please choose one only.")