diff options
author | Rob Crittenden <rcritten@redhat.com> | 2007-12-05 15:25:05 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2007-12-05 15:25:05 -0500 |
commit | 62b8091a83c31459ca3e5c5aada01f668a09a381 (patch) | |
tree | 831d4db5f2e1df63b3fcac099b816320c76e4b09 /ipa-admintools/ipa-finduser | |
parent | 15b7dc6ff9c202dee00f1403139c206b5969c0f3 (diff) | |
download | freeipa-62b8091a83c31459ca3e5c5aada01f668a09a381.tar.gz freeipa-62b8091a83c31459ca3e5c5aada01f668a09a381.tar.xz freeipa-62b8091a83c31459ca3e5c5aada01f668a09a381.zip |
Notify the user when the search results have been truncated
Diffstat (limited to 'ipa-admintools/ipa-finduser')
-rw-r--r-- | ipa-admintools/ipa-finduser | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipa-admintools/ipa-finduser b/ipa-admintools/ipa-finduser index 6dc4d56c8..81e8898a2 100644 --- a/ipa-admintools/ipa-finduser +++ b/ipa-admintools/ipa-finduser @@ -90,6 +90,9 @@ def main(): if counter == 0: print "No entries found for", args[1] return 2 + elif counter == -1: + print "These results are truncated." + print "Please revine your search and try again." for ent in users: attr = ent.attrList() |