Lines 145-150
Link Here
|
145 |
|
145 |
|
146 |
modes = { |
146 |
modes = { |
147 |
'commit' : 'Run a scan then commit changes', |
147 |
'commit' : 'Run a scan then commit changes', |
|
|
148 |
'ci' : 'Run a scan then commit changes', |
148 |
'fix' : 'Fix simple QA issues (stray digests, missing digests)', |
149 |
'fix' : 'Fix simple QA issues (stray digests, missing digests)', |
149 |
'full' : 'Scan directory tree and print all issues (not a summary)', |
150 |
'full' : 'Scan directory tree and print all issues (not a summary)', |
150 |
'help' : 'Show this screen', |
151 |
'help' : 'Show this screen', |
Lines 223-228
Link Here
|
223 |
|
224 |
|
224 |
if not opts.mode: |
225 |
if not opts.mode: |
225 |
opts.mode = 'full' #default to full |
226 |
opts.mode = 'full' #default to full |
|
|
227 |
|
228 |
if opts.mode == 'ci': |
229 |
opts.mode = 'commit' # backwards compat shortcut |
226 |
|
230 |
|
227 |
if opts.mode == 'commit' and not (opts.force or opts.pretend): |
231 |
if opts.mode == 'commit' and not (opts.force or opts.pretend): |
228 |
if opts.ignore_masked: |
232 |
if opts.ignore_masked: |