You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by rd...@apache.org on 2012/08/14 22:09:20 UTC

svn commit: r1373059 - /creadur/rat/trunk/apache-rat/src/site/apt/index.apt

Author: rdonkin
Date: Tue Aug 14 20:09:20 2012
New Revision: 1373059

URL: http://svn.apache.org/viewvc?rev=1373059&view=rev
Log:
Add options (thanks to Commons CLI)

Modified:
    creadur/rat/trunk/apache-rat/src/site/apt/index.apt

Modified: creadur/rat/trunk/apache-rat/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat/src/site/apt/index.apt?rev=1373059&r1=1373058&r2=1373059&view=diff
==============================================================================
--- creadur/rat/trunk/apache-rat/src/site/apt/index.apt (original)
+++ creadur/rat/trunk/apache-rat/src/site/apt/index.apt Tue Aug 14 20:09:20 2012
@@ -69,3 +69,44 @@ java -jar apache-rat-VERSION.jar
  -E /path/to/project/.rat-excludes
  -d /path/to/project
 +------------------------------------------+
+
+* Command Line Options
+
+
++------------------------------------------+
+usage: java rat.report [options] [DIR|TARBALL]
+Options
+ -A,--addLicense                Add the default licence header to any file
+                                with an unknown licence that is not in the
+                                exclusion list. By default new files will
+                                be created with the licence header, to
+                                force the modification of existing files
+                                use the --force option.
+ -a,--addLicence                Add the default licence header to any file
+                                with an unknown licence that is not in the
+                                exclusion list. By default new files will
+                                be created with the licence header, to
+                                force the modification of existing files
+                                use the --force option.
+ -c,--copyright <arg>           The copyright message to use in the
+                                licence headers, usually in the form of
+                                "Copyright 2008 Foo"
+ -d,--dir                       Used to indicate source when using
+                                --exclude
+ -E,--exclude-file <fileName>   Excludes files matching regular expression
+                                in <file> Note that --dir is required when
+                                using this parameter.
+ -e,--exclude <expression>      Excludes files matching wildcard
+                                <expression>. Note that --dir is required
+                                when using this parameter. Allows multiple
+                                arguments.
+ -f,--force                     Forces any changes in files to be written
+                                directly to the source files (i.e. new
+                                files are not created)
+ -h,--help                      Print help for the RAT command line
+                                interface and exit
+ -s,--stylesheet <arg>          XSLT stylesheet to use when creating the
+                                report.  Not compatible with -x
+ -x,--xml                       Output the report in raw XML format.  Not
+                                compatible with -s
++------------------------------------------+
\ No newline at end of file