Skip to content

Commit bcbbb62

Browse files
simonLeary42cidrblockssbarnea
authored
fix: clarify error message related to --fix arguments (#4720)
Co-authored-by: Bradley A. Thornton <[email protected]> Co-authored-by: Sorin Sbarnea <[email protected]>
1 parent 1560c48 commit bcbbb62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ansiblelint/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def fix(runtime_options: Options, result: LintResult, rules: RulesCollection) ->
231231

232232
if unknown_tags: # pragma: no cover
233233
_logger.error(
234-
"Found invalid value(s) (%s) for --fix arguments, must be one of: %s",
234+
"Found invalid value(s) (%s) for --fix arguments, must be one of: %s. Valid values are limited by the configured profile.",
235235
", ".join(unknown_tags),
236236
", ".join(acceptable_tags),
237237
)

0 commit comments

Comments
 (0)