From a56be052af4e66a67e43cf983d2ae9878141fe46 Mon Sep 17 00:00:00 2001 From: Oleg Sukhodolsky Date: Tue, 2 Sep 2003 17:27:52 +0000 Subject: [PATCH] Changed configuration documentation example from checkstyle_checks.xml to sun_checks.xml (see bug 750169) --- docs/cmdline.html | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/cmdline.html b/docs/cmdline.html index a8eedbd61..d6c7be58a 100644 --- a/docs/cmdline.html +++ b/docs/cmdline.html @@ -91,56 +91,56 @@ If a property file is specified, the system properties are ignored.

Examples

-Run checkstyle with configuration file docs/checkstyle_checks.xml on a file +Run checkstyle with configuration file docs/sun_checks.xml on a file

-  java com.puppycrawl.tools.checkstyle.Main -c docs/checkstyle_checks.xml \
+  java com.puppycrawl.tools.checkstyle.Main -c docs/sun_checks.xml \
        Check.java
 

-Run checkstyle with configuration file docs/checkstyle_checks.xml +Run checkstyle with configuration file docs/sun_checks.xml on all java files in a directory

-  java com.puppycrawl.tools.checkstyle.Main -c docs/checkstyle_checks.xml \
+  java com.puppycrawl.tools.checkstyle.Main -c docs/sun_checks.xml \
        -r src/
 

-Run checkstyle with configuration file docs/checkstyle_checks.xml +Run checkstyle with configuration file docs/sun_checks.xml on a file and provide a system property

-  java -Dcheckstyle.header.file=docs/java.header \
-       com.puppycrawl.tools.checkstyle.Main -c docs/checkstyle_checks.xml \
+  java -Dcheckstyle.cache.file=target/cachefile \
+       com.puppycrawl.tools.checkstyle.Main -c docs/sun_checks.xml \
        Check.java
 

-Run checkstyle with configuration file docs/checkstyle_checks.xml +Run checkstyle with configuration file docs/sun_checks.xml on a file and use properties in a file

-  java com.puppycrawl.tools.checkstyle.Main -c docs/checkstyle_checks.xml \
+  java com.puppycrawl.tools.checkstyle.Main -c docs/sun_checks.xml \
   -p myCheckstyle.properties Check.java
 

-Run checkstyle with configuration file docs/checkstyle_checks.xml +Run checkstyle with configuration file docs/sun_checks.xml on a file and output to a file in XML format

-  java com.puppycrawl.tools.checkstyle.Main -c docs/checkstyle_checks.xml \
+  java com.puppycrawl.tools.checkstyle.Main -c docs/sun_checks.xml \
        -f xml -o build/checkstyle_errors.xml Check.java
 

-Run checkstyle with configuration file docs/checkstyle_checks.xml on a file and +Run checkstyle with configuration file docs/sun_checks.xml on a file and provide a package names file

-  java com.puppycrawl.tools.checkstyle.Main -c docs/checkstyle_checks.xml \
+  java com.puppycrawl.tools.checkstyle.Main -c docs/sun_checks.xml \
        -n myPackageNames.xml Check.java
 
@@ -154,7 +154,7 @@ provide a package names file
   java -jar checkstyle-all-@CHECKSTYLE_VERSION@.jar \
-       -c docs/checkstyle_checks.xml Check.java
+       -c docs/sun_checks.xml Check.java