Skip to content

Commit

Permalink
YAMLLintBear.py: Correct argument "--config"
Browse files Browse the repository at this point in the history
Corrected the argument at line 53 from ``--config`` to ``--config-file``

Fixes coala#979
  • Loading branch information
meetarora29 committed Nov 13, 2016
1 parent fcbccaf commit e44c5c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bears/yml/YAMLLintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def create_arguments(filename, file, config_file, yamllint_config: str=''):
"""
args = ('-f', 'parsable', filename)
if yamllint_config:
args += ('--config=' + yamllint_config,)
args += ('--config-file=' + yamllint_config,)
else:
args += ('--config-file=' + config_file,)
return args

0 comments on commit e44c5c5

Please sign in to comment.