summaryrefslogtreecommitdiffstats
path: root/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileFindCLI.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileFindCLI.java')
-rw-r--r--base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileFindCLI.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileFindCLI.java b/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileFindCLI.java
index 9f822f6ba..907641462 100644
--- a/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileFindCLI.java
+++ b/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileFindCLI.java
@@ -74,7 +74,8 @@ public class ProfileFindCLI extends CLI {
ProfileCollection result = profileCLI.profileClient.findProfiles(start, size);
Collection<ProfileData> profiles = result.getEntries();
- MainCLI.printMessage(profiles.size() + " profile(s) matched");
+ MainCLI.printMessage(result.getTotal() + " profile(s) matched");
+ if (result.getTotal() == 0) return;
boolean first = true;