From 4d1ec71c790e467ecae184df01abf825f94d1dc3 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 13 Nov 2013 12:00:06 -0500 Subject: Added paging on all find commands. The find commands in some REST services have been modified to support paging to be consistent with others. The other find commands have been cleaned up as well. --- base/java-tools/src/com/netscape/cmstools/tps/token/TokenFindCLI.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'base/java-tools/src/com/netscape/cmstools/tps/token') diff --git a/base/java-tools/src/com/netscape/cmstools/tps/token/TokenFindCLI.java b/base/java-tools/src/com/netscape/cmstools/tps/token/TokenFindCLI.java index 2e43f3cdd..6cfb1fb00 100644 --- a/base/java-tools/src/com/netscape/cmstools/tps/token/TokenFindCLI.java +++ b/base/java-tools/src/com/netscape/cmstools/tps/token/TokenFindCLI.java @@ -72,11 +72,11 @@ public class TokenFindCLI extends CLI { Integer size = s == null ? null : Integer.valueOf(s); TokenCollection result = tokenCLI.tokenClient.findTokens(start, size); - Collection tokens = result.getEntries(); - MainCLI.printMessage(result.getTotal() + " token(s) matched"); + MainCLI.printMessage(result.getTotal() + " entries matched"); if (result.getTotal() == 0) return; + Collection tokens = result.getEntries(); boolean first = true; for (TokenData tokenData : tokens) { -- cgit