Skip to content

Commit 0797373

Browse files
Improve CLI parameter
1 parent c703797 commit 0797373

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/radarcns/hdfs/util/commandline/CommandLineArgs.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ public class CommandLineArgs {
9393
@Parameter(names = {"--max-files-per-topic"}, description = "Maximum number of records to process, per topic. Set below 1 to disable this option.")
9494
public int maxFilesPerTopic = 0;
9595

96-
@Parameter(names = {"--exclude-topics"}, description = "Topics to exclude when processing the records.")
97-
public List<String> excludeTopics;
96+
@Parameter(names = {"--exclude-topics"}, description = "Comma-separated list of topics to exclude when processing the records.")
97+
public List<String> excludeTopics = new ArrayList<>();
9898

9999
public static <T> T nonNullOrDefault(T value, Supplier<T> defaultValue) {
100100
return value != null ? value : defaultValue.get();

0 commit comments

Comments
 (0)