Fix argument error

This commit is contained in:
zontreck 2023-12-05 13:13:01 -07:00
parent cc5df5a812
commit 6de81cfd31

View file

@ -12,10 +12,6 @@ public class ArgumentsParser {
defaultArg = defaults.getArg(arg.name);
}
if (i + 1 < args.length) {
i++;
}
if (!arg.hasValue) {
if (defaultArg != null) {
arg = defaultArg;