summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-06-21 17:11:54 +0000
committerZac Medico <zmedico@gentoo.org>2008-06-21 17:11:54 +0000
commitd014be84174a082589abb1147997440e35878b09 (patch)
tree98626ebf75b778a65dd3249038321be72a10bee1
parent552108d09c8e9e3c203a194e4a8f98de4c0e5fce (diff)
downloadportage-d014be84174a082589abb1147997440e35878b09.tar.gz
portage-d014be84174a082589abb1147997440e35878b09.tar.bz2
portage-d014be84174a082589abb1147997440e35878b09.zip
Bug #228489 - Restore the "ci" alias for "commit" mode. Thanks to grobian
for the patch. svn path=/main/trunk/; revision=10756
-rwxr-xr-xbin/repoman4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index 5481c1e38..3a1d5fa07 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -147,6 +147,7 @@ def ParseArgs(args, qahelp):
modes = {
'commit' : 'Run a scan then commit changes',
+ 'ci' : 'Run a scan then commit changes',
'fix' : 'Fix simple QA issues (stray digests, missing digests)',
'full' : 'Scan directory tree and print all issues (not a summary)',
'help' : 'Show this screen',
@@ -225,6 +226,9 @@ def ParseArgs(args, qahelp):
if not opts.mode:
opts.mode = 'full' #default to full
+
+ if opts.mode == 'ci':
+ opts.mode = 'commit' # backwards compat shortcut
if opts.mode == 'commit' and not (opts.force or opts.pretend):
if opts.ignore_masked: