From 1e29657edb08c144fea629eb5d48174f92dab312 Mon Sep 17 00:00:00 2001 From: Kai Koenig Date: Tue, 2 Jan 2018 10:26:07 +1300 Subject: [PATCH] Fix wording for non-arguments passed to reflect -file. Fixes #521. --- src/main/java/com/cflint/cli/CFLintCLI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/cflint/cli/CFLintCLI.java b/src/main/java/com/cflint/cli/CFLintCLI.java index 9bd75ad8b..1057fec52 100644 --- a/src/main/java/com/cflint/cli/CFLintCLI.java +++ b/src/main/java/com/cflint/cli/CFLintCLI.java @@ -402,7 +402,7 @@ private void display(final String text) { private boolean isValid() { if (folder.isEmpty() && !stdIn) { - System.err.println("Set -folder or -stdin to use CFLint"); + System.err.println("Set -folder, -file or -stdin to use CFLint"); return false; } return true;