pmd: fix bug #1044 - update suppressing documentation with new cli paramter name

This commit is contained in:
Andreas Dangel 2012-12-05 21:51:05 +01:00
parent 4b0063dfc1
commit 063c4228e3
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
???? ??, 2012 - 5.0.2:
Fixed bug 1044: Unknown option: -excludemarker
November 28, 2012 - 5.0.1:
Fixed bug 820: False+ AvoidReassigningParameters

View File

@ -82,7 +82,7 @@ public class Foo {
}
}
$ ./pmd.sh Foo.java text unusedcode -excludemarker TURN_OFF_WARNINGS
$ ./run.sh pmd -d Foo.java -f text -R java-unusedcode -suppressmarker TURN_OFF_WARNINGS
No problems found!
UnusedLocalVariable rule violation suppressed by //NOPMD in /home/tom/pmd/pmd/bin/Foo.java
</source>
@ -99,7 +99,7 @@ public class Foo {
}
}
}
$ java net.sourceforge.pmd.PMD ~/tmp/Foo.java text basic
$ java net.sourceforge.pmd.PMD -d ~/tmp/Foo.java -f text -R java-basic
No problems found!
$
</source>