Skip to content

Commit

Permalink
Merge pull request #113 from warpnet/union-jack
Browse files Browse the repository at this point in the history
Update CLI options to support British English
  • Loading branch information
jbouter authored Nov 15, 2019
2 parents b604251 + 8bf8b3c commit 8667afe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions saltlint/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ def run(args=None):
parser.add_option('-x', dest='skip_list', default=[], action='append',
help="only check rules whose id/tags do not " +
"match these values")
parser.add_option('--nocolor', dest='colored',
parser.add_option('--nocolor', '--nocolour', dest='colored',
default=hasattr(sys.stdout, 'isatty') and sys.stdout.isatty(),
action='store_false',
help="disable colored output")
parser.add_option('--force-color', dest='colored',
parser.add_option('--force-color', '--force-colour', dest='colored',
action='store_true',
help="Try force colored output (relying on salt's code)")
parser.add_option('--exclude', dest='exclude_paths', action='append',
Expand Down

0 comments on commit 8667afe

Please sign in to comment.