diff --git a/README.md b/README.md index ede4b3e..bcd7aaf 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,7 @@ A number of **parsers** have been implemented. Some **parsers** can parse output | [_Infer_](http://fbinfer.com/) | `PMD` | Facebook Infer. With `--pmd-xml`. | [_JCReport_](https://github.com/jCoderZ/fawkez/wiki/JcReport) | `JCREPORT` | | [_JSHint_](http://jshint.com/) | `JSHINT` | +| [_JUnit_](https://junit.org/junit4/) | `JUNIT` | | [_KTLint_](https://github.com/shyiko/ktlint) | `CHECKSTYLE` | | [_Klocwork_](http://www.klocwork.com/products-services/klocwork/static-code-analysis) | `KLOCWORK` | | [_KotlinGradle_](https://github.com/JetBrains/kotlin) | `KOTLINGRADLE` | Output from Kotlin Gradle Plugin. diff --git a/src/main/java/se/bjurr/violations/main/Runner.java b/src/main/java/se/bjurr/violations/main/Runner.java index 5be6ea3..dfefccc 100644 --- a/src/main/java/se/bjurr/violations/main/Runner.java +++ b/src/main/java/se/bjurr/violations/main/Runner.java @@ -53,7 +53,7 @@ public void main(final String args[]) throws Exception { .collect(Collectors.joining(", ")); final Argument>> violationsArg = stringArgument("--violations", "-v") - .variableArity() + .arity(4) .repeated() .description( "The violations to look for. where PARSER is one of: "