Permalink
Browse files

More cleanup to support partial command names.

  • Loading branch information...
keforbes committed Mar 10, 2013
1 parent 210c5d3 commit 117edcb78f9e35289564b9227c22c6fd9afd3aed
@@ -363,8 +363,8 @@ public Command parseAndExecute(String first, String command) {
tokens.add("!");
}
else {
- tokens.set(0, tok.substring(0, tok.length()-1));
- tokens.set(1, "!");
+ tokens.add(0, tok.substring(0, tok.length()-1));
+ tokens.add(1, "!");
}
}

0 comments on commit 117edcb

Please sign in to comment.