summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: