remove the option introduced by a mistake

This commit is contained in:
Liam
2021-11-10 08:43:59 -06:00
parent 0d90091594
commit f83de43cbf

View File

@ -131,7 +131,7 @@ public class CPDConfiguration extends AbstractConfiguration {
@Parameter(names = { "--help", "-h" }, description = "Print help text", required = false, help = true)
private boolean help;
@Parameter(names = { "--fail-on-violation", "--failOnViolation", "-failOnViolation" }, arity = 1,
@Parameter(names = { "--fail-on-violation", "--failOnViolation" }, arity = 1,
description = "By default CPD exits with status 4 if code duplications are found. Disable this option with '-failOnViolation false' to exit with 0 instead and just write the report.")
private boolean failOnViolation = true;