value flags no longer case-sensitive, remove debug message

This commit is contained in:
aPunch 2012-02-22 18:37:51 -06:00
parent 4720a4bd4d
commit 0abac86758

View File

@ -77,8 +77,7 @@ public class CommandContext {
}
if (inner != -1) {
System.out.println(args[inner]);
valueFlags.put(args[i].replaceFirst("--", ""), args[inner]);
valueFlags.put(args[i].toLowerCase().replaceFirst("--", ""), args[inner]);
args[i] = "";
args[inner] = "";
}