This is an automated email from the ASF dual-hosted git repository.
pottlinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git
The following commit(s) were added to refs/heads/master by this push:
new dee7c627 RAT-492: Replace addLicense with edit-license to not use
deprecated CLI option
dee7c627 is described below
commit dee7c62701b34f2266dbb83292675b195911f628
Author: P. Ottlinger <[email protected]>
AuthorDate: Sat Sep 27 13:43:16 2025 +0200
RAT-492: Replace addLicense with edit-license to not use deprecated CLI
option
---
apache-rat/src/site/resources/site/index.md.vm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apache-rat/src/site/resources/site/index.md.vm
b/apache-rat/src/site/resources/site/index.md.vm
index a9406deb..7d6e543b 100644
--- a/apache-rat/src/site/resources/site/index.md.vm
+++ b/apache-rat/src/site/resources/site/index.md.vm
@@ -46,7 +46,7 @@ are not excluded by the RAT configurations will be affected.
To add license headers use a command such as:
```
-java -jar apache-rat/target/apache-rat-${project.version}.jar --addLicense
--copyright "Copyright 2008 Foo" --force /path/to/project
+java -jar apache-rat/target/apache-rat-${project.version}.jar --edit-license
--copyright "Copyright 2008 Foo" --force /path/to/project
```
This command will add the license header directly to the