added example for -r option (rfe #568911)

This commit is contained in:
lkuehne 2002-07-02 20:50:18 +00:00
parent a2242438ff
commit 344781ffa9
1 changed files with 5 additions and 0 deletions

View File

@ -240,6 +240,11 @@ Older versions of the checkstyle task supported the boolean parameters checkstyl
java com.puppycrawl.tools.checkstyle.Main Check.java
</pre>
<p><b>Run checkstyle on all java files in a directory</b></p>
<pre>
java com.puppycrawl.tools.checkstyle.Main -r src/
</pre>
<p><b>Run checkstyle on a file and allow tabs</b></p>
<pre>
java -Dcheckstyle.allow.tabs=yes \