Re-re-introduced a small optimization in the flag parser.

This commit is contained in:
TomyLobo 2011-09-16 02:16:11 +02:00
parent 9371202a12
commit 19eedecdaf

View File

@ -86,6 +86,9 @@ public class CommandContext {
for (int i = 1; i < args.length; ++i) {
final String arg = args[i];
if (arg.charAt(0) != '-') {
continue;
}
if (arg.equals("--")) {
args = removePortionOfArray(args, i, i, null);