We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df0f9f3 commit 021c491Copy full SHA for 021c491
src/main/java/org/kettingpowered/launcher/Args.java
@@ -62,7 +62,7 @@ private static void printHelp(){
62
63
private @Nullable String getArg(String arg) {
64
int index = args.indexOf(arg);
65
- if (index > 0) {
+ if (index >= 0) {
66
args.remove(index); //remove arg
67
return args.remove(index); //this should be the value to that arg
68
}
0 commit comments