From e44c5c5c8016014225d6e460d361c9ad015c7585 Mon Sep 17 00:00:00 2001 From: Meet Arora Date: Sun, 13 Nov 2016 17:43:49 +0530 Subject: [PATCH] YAMLLintBear.py: Correct argument "--config" Corrected the argument at line 53 from ``--config`` to ``--config-file`` Fixes https://github.com/coala/coala-bears/issues/979 --- bears/yml/YAMLLintBear.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bears/yml/YAMLLintBear.py b/bears/yml/YAMLLintBear.py index 56b46ab41e..9b2b44ae30 100644 --- a/bears/yml/YAMLLintBear.py +++ b/bears/yml/YAMLLintBear.py @@ -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