Claudenw commented on code in PR #317:
URL: https://github.com/apache/creadur-rat/pull/317#discussion_r1776572978


##########
apache-rat-tasks/src/site/apt/examples/basic.apt.vm:
##########
@@ -59,28 +59,25 @@ java -jar apache-rat-${project.version}.jar src
   The equivalent of
 
 +------------------------------------------+
-java -jar apache-rat-${project.version}.jar --addlicense
-  --copyright "Copyright 2008 Foo"
+java -jar apache-rat-${project.version}.jar --edit-license
+  --edit-copyright "Copyright 2008 Foo"
   /path/to/project
 +------------------------------------------+
 
   is
 
 ---
-<rat:report addLicenseHeaders="true"
-            coprightMessage="Copyright 2008 Foo">
+<rat:report editLicense="true"
+            editCopyright="Copyright 2008 Foo">
     <fileset dir="/path/to/project"/>
 </rat:report>
 ---
 
 * Create a styled HTML report
 
 ---
-<rat:report format="styled" reportFile="rat.html">
+<rat:report outputStyle="my/rat-xml-2-html.xslt" outputFile="rat.html">

Review Comment:
   I am not certain what you are saying.  However here is how the outputStyle 
works.
   
   - If not set use "plain-rat"
   - May be set to one of the named XSLTs specified in the StyleSheets class:
       -  plain-rat - standard default.
       - missing-headers - enumerates files with missing headers
       - unapproved-licenses - files with unapproved licenses
       - xml - a pretty printed XML output.
    - My specify a file on the file system.
   
   So I think we cover all the old "styled" optons, unless I am missing 
something.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@creadur.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to