You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
argName: 'commits', 'Maximum number of commits to use for each project. Commits will be selected randomly, according to provided random seed')
29
33
this.cli.i(longOpt: 'injector', args: 1,
30
34
argName: 'class', 'Specify the class of the dependency injector (Must provide full name, default injectors.StaticAnalysisConflictsDetectionModule)')
31
35
this.cli.p(longOpt: 'push', args: 1, argName: 'link', 'Specify a git repository to upload the output in the end of the analysis (format https://github.com/<owner>/<name>')
@@ -78,20 +82,28 @@ class ArgsParser {
78
82
}
79
83
80
84
privatevoidparseOptions(Argumentsargs) {
85
+
if (this.options.r) {
86
+
args.setRandomSeed(this.options.r.toInteger())
87
+
}
88
+
81
89
if (this.options.since) {
82
90
if (!validDate(this.options.since))
83
-
thrownewInvalidArgsException('Invalid since date. You must specify it with the format DD/MM/YYYY')
91
+
thrownewInvalidArgsException('Invalid since date. You must specify it with the format YYYY-MM-DD')
84
92
85
93
args.setSinceDate(this.options.since)
86
94
}
87
95
88
96
if (this.options.until) {
89
97
if (!validDate(this.options.until))
90
-
thrownewInvalidArgsException('Invalid since date. You must specify it with the format DD/MM/YYYY')
98
+
thrownewInvalidArgsException('Invalid until date. You must specify it with the format YYYY-MM-DD')
0 commit comments