|
@@ -4,13 +4,13 @@ import com.beust.jcommander.Parameter;
|
|
|
|
|
|
|
|
public class InputParameters {
|
|
public class InputParameters {
|
|
|
|
|
|
|
|
- @Parameter(names = {"-logs", "-n"}, description = "Number of logs to generate")
|
|
|
|
|
- public Long logs = 10L;
|
|
|
|
|
|
|
+ @Parameter(names = {"-logs", "-n"}, description = "Number of logs to generate", required = true)
|
|
|
|
|
+ public Long logs;
|
|
|
|
|
|
|
|
@Parameter(names = {"-threads", "-t"}, description = "Number of threads to use")
|
|
@Parameter(names = {"-threads", "-t"}, description = "Number of threads to use")
|
|
|
public Integer threads = 2;
|
|
public Integer threads = 2;
|
|
|
|
|
|
|
|
@Parameter(names = "--help", help = true)
|
|
@Parameter(names = "--help", help = true)
|
|
|
- private boolean help;
|
|
|
|
|
|
|
+ public boolean help;
|
|
|
|
|
|
|
|
}
|
|
}
|