mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -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));
|
addAll(Arrays.asList(args));
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
if (arglist.peekFirst() == null) {
|
||||||
|
wantsBasicHelp = true;
|
||||||
|
return arglist;
|
||||||
|
}
|
||||||
|
|
||||||
// Preprocess --include regardless of position
|
// Preprocess --include regardless of position
|
||||||
LinkedList<String> nonincludes = new LinkedList<>();
|
LinkedList<String> nonincludes = new LinkedList<>();
|
||||||
while (arglist.peekFirst() != null) {
|
while (arglist.peekFirst() != null) {
|
||||||
@ -200,11 +205,6 @@ public class NBCLIOptions {
|
|||||||
|
|
||||||
PathCanonicalizer canonicalizer = new PathCanonicalizer(wantsIncludes());
|
PathCanonicalizer canonicalizer = new PathCanonicalizer(wantsIncludes());
|
||||||
|
|
||||||
if (arglist.peekFirst() == null) {
|
|
||||||
wantsBasicHelp = true;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
LinkedList<String> nonincludes = new LinkedList<>();
|
LinkedList<String> nonincludes = new LinkedList<>();
|
||||||
|
|
||||||
while (arglist.peekFirst() != null) {
|
while (arglist.peekFirst() != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user