Fix minor completion bug.

This commit is contained in:
Kris Maglione
2010-12-28 19:22:32 -05:00
parent 80968ef92f
commit f330440138
+1 -1
View File
@@ -887,7 +887,7 @@ var Commands = Module("commands", {
arg = opt.type.parse(arg, quoted);
if (complete && isArray(arg)) {
args.completeFilter = arg[arg.length - 1];
args.completeFilter = arg[arg.length - 1] || "";
args.completeStart += orig.length - args.completeFilter.length;
}