Fix number of entries not being used.

This commit is contained in:
asofold 2014-08-01 19:41:44 +02:00
parent 1a73b65d4a
commit 58f84028f3

View File

@ -120,6 +120,7 @@ public class TopCommand extends BaseCommand{
builder.append("/max=");
builder.append(format.format(view.maxVL));
builder.append(")");
done ++;
if (done >= n) {
break;
}
@ -153,7 +154,7 @@ public class TopCommand extends BaseCommand{
return false;
}
int startIndex = 1;
Integer n = 10;
int n = 10;
try {
n = Integer.parseInt(args[1].trim());
startIndex = 2;