[
https://issues.apache.org/jira/browse/RAT-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005669#comment-13005669
]
Stefan Bodewig commented on RAT-85:
-----------------------------------
My best guess is that Robert's UK English-typing fingers are responsible for
that 8-)
I've just glanced of the Commons CLI Javadocs, maybe we can use an OptionGroup
to create two mutually exclusive --addLicence and --addLicense options. I'll
look into it.
> --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