Fix typo
This commit is contained in:
parent
a004e050d1
commit
42795e0841
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue