[
https://issues.apache.org/jira/browse/RAT-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005654#comment-13005654
]
Marlon Pierce commented on RAT-85:
----------------------------------
You are correct. I typed "--addLicense" out of habit (US English-typing
fingers), but I see now that both the binary download and the SVN compiled
version show "--addLicence" when printing usage. The code does mix and match
spellings, mostly using "license" but "licence" at least twice:
import org.apache.rat.annotation.AbstractLicenceAppender;
import org.apache.rat.annotation.ApacheV2LicenceAppender;
> --addLicense doesn't work
> --------------------------
>
> Key: RAT-85
> URL: https://issues.apache.org/jira/browse/RAT-85
> Project: RAT
> Issue Type: Bug
> Affects Versions: 0.8
> Environment: Shouldn't matter, but I tested on Mac OSX with java
> -version
> java version "1.6.0_22"
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261)
> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode)
> Reporter: Marlon Pierce
>
> In org.apache.rat.Report, the --addLicense flag doesn't work. I notice
> "license" is spelled as "licence" below:
> Option addLicence = new Option(
> "a",
> "addLicence",
> false,
> "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.");
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira