mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-13 09:22:05 -06:00
fix single-option regression
This commit is contained in:
parent
4c652fe4cd
commit
5df86396c4
@ -144,6 +144,11 @@ public class NBCLIOptions {
|
||||
addAll(Arrays.asList(args));
|
||||
}};
|
||||
|
||||
if (arglist.peekFirst() == null) {
|
||||
wantsBasicHelp = true;
|
||||
return arglist;
|
||||
}
|
||||
|
||||
// Preprocess --include regardless of position
|
||||
LinkedList<String> nonincludes = new LinkedList<>();
|
||||
while (arglist.peekFirst() != null) {
|
||||
@ -200,11 +205,6 @@ public class NBCLIOptions {
|
||||
|
||||
PathCanonicalizer canonicalizer = new PathCanonicalizer(wantsIncludes());
|
||||
|
||||
if (arglist.peekFirst() == null) {
|
||||
wantsBasicHelp = true;
|
||||
return;
|
||||
}
|
||||
|
||||
LinkedList<String> nonincludes = new LinkedList<>();
|
||||
|
||||
while (arglist.peekFirst() != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user