From 50693f9a7cdaad6f689c5a872a602b453f256a11 Mon Sep 17 00:00:00 2001 From: Tomas Bjerre Date: Sat, 15 Jun 2019 21:03:11 +0200 Subject: [PATCH] Artity 4 on -v --- README.md | 1 + src/main/java/se/bjurr/violations/main/Runner.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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: "