This commit is contained in:
zontreck 2023-12-05 02:16:01 -07:00
parent a004e050d1
commit 42795e0841

View file

@ -20,7 +20,7 @@ public class ArgumentsParser {
public static Argument parseArgument(String arg) { public static Argument parseArgument(String arg) {
if (arg.startsWith("--")) { if (arg.startsWith("--")) {
String[] parts = arg.split("=", 2); String[] parts = arg.split("=", 1);
if (parts.length == 1) { if (parts.length == 1) {
return new Argument(parts[0].substring(2)); return new Argument(parts[0].substring(2));
} else { } else {