value flags no longer case-sensitive, remove debug message

This commit is contained in:
aPunch 2012-02-22 18:37:51 -06:00
parent d5ccfeaae4
commit 6968b7d927
1 changed files with 1 additions and 2 deletions

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] = "";
}