Skip to content

Commit

Permalink
Fix wording for non-arguments passed to reflect -file. Fixes cflint#521.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealAgentK committed Jan 1, 2018
1 parent 184aa39 commit 1e29657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/cflint/cli/CFLintCLI.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1e29657

Please sign in to comment.