From 063c4228e3ee9044f4febd36955b0d789e99a431 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Wed, 5 Dec 2012 21:51:05 +0100 Subject: [PATCH] pmd: fix bug #1044 - update suppressing documentation with new cli paramter name --- pmd/etc/changelog.txt | 4 ++++ pmd/src/site/xdocs/suppressing.xml | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pmd/etc/changelog.txt b/pmd/etc/changelog.txt index 33cdee61df..cbfe7008cc 100644 --- a/pmd/etc/changelog.txt +++ b/pmd/etc/changelog.txt @@ -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 diff --git a/pmd/src/site/xdocs/suppressing.xml b/pmd/src/site/xdocs/suppressing.xml index 92d085048f..e8ccf25be5 100644 --- a/pmd/src/site/xdocs/suppressing.xml +++ b/pmd/src/site/xdocs/suppressing.xml @@ -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 @@ -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! $