Skip to content

Commit

Permalink
fixed documentation for --licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudenw committed May 10, 2024
1 parent 095be62 commit 0c41c9c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apache-rat-core/src/main/java/org/apache/rat/Report.java
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public String desc() {
* Name of File to exclude from report consideration.
*/
static final Option EXCLUDE_CLI = Option.builder("e").longOpt("exclude").hasArgs().argName("Expression")
.desc("Excludes files matching wildcard <expression>. May be followed by multiple arguments. "
.desc("Excludes files matching wildcard <Expression>. May be followed by multiple arguments. "
+ "Note that '--' or a following option is required when using this parameter.")
.build();
/**
Expand Down Expand Up @@ -188,7 +188,8 @@ public String desc() {
* @since 0.16.0
*/
static final Option LICENSES = Option.builder().longOpt("licenses").hasArgs().argName("FileOrURI")
.desc("File names or URLs for license definitions")
.desc("File names or URLs for license definitions. May be followed by multiple arguments. " +
"Note that '--' or a following option is required when using this parameter.")
.build();
/**
* Do not use the default files.
Expand Down Expand Up @@ -224,7 +225,7 @@ public String desc() {
* @since 0.16.0
*/
static final Option LOG_LEVEL = Option.builder().longOpt("log-level")
.hasArgs().argName("LogLevel")
.hasArg().argName("LogLevel")
.desc("sets the log level.")
.converter(s -> Log.Level.valueOf(s.toUpperCase()))
.build();
Expand Down

0 comments on commit 0c41c9c

Please sign in to comment.