From 2ec408e35a33a15722f3ff321e2955af80a63d9d Mon Sep 17 00:00:00 2001
From: Kurt Zeilenga <kurt@openldap.org>
Date: Fri, 8 Feb 2002 19:12:31 +0000
Subject: [PATCH] s/search/...  as appropriate

---
 clients/tools/ldapdelete.c | 4 ++--
 clients/tools/ldapmodify.c | 4 ++--
 clients/tools/ldapmodrdn.c | 4 ++--
 clients/tools/ldappasswd.c | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/clients/tools/ldapdelete.c b/clients/tools/ldapdelete.c
index 448d0d2a59..57e22a7c2a 100644
--- a/clients/tools/ldapdelete.c
+++ b/clients/tools/ldapdelete.c
@@ -68,7 +68,7 @@ usage( const char *s )
 "  -k         use Kerberos authentication\n"
 "  -K         like -k, but do only step 1 of the Kerberos bind\n"
 "  -M         enable Manage DSA IT control (-MM to make critical)\n"
-"  -n         show what would be done but don't actually search\n"
+"  -n         show what would be done but don't actually do it\n"
 "  -O props   SASL security properties\n"
 "  -p port    port on LDAP server\n"
 "  -P version procotol version (default: 3)\n"
@@ -504,7 +504,7 @@ main( int argc, char **argv )
 
 		ld = ldap_init( ldaphost, ldapport );
 		if( ld == NULL ) {
-			perror("ldapsearch: ldap_init");
+			perror("ldapdelete: ldap_init");
 			return EXIT_FAILURE;
 		}
 
diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c
index 83c4e141be..6741443b89 100644
--- a/clients/tools/ldapmodify.c
+++ b/clients/tools/ldapmodify.c
@@ -114,7 +114,7 @@ usage( const char *prog )
 "  -k         use Kerberos authentication\n"
 "  -K         like -k, but do only step 1 of the Kerberos bind\n"
 "  -M         enable Manage DSA IT control (-MM to make critical)\n"
-"  -n         show what would be done but don't actually search\n"
+"  -n         show what would be done but don't actually update\n"
 "  -O props   SASL security properties\n"
 "  -p port    port on LDAP server\n"
 "  -P version procotol version (default: 3)\n"
@@ -570,7 +570,7 @@ main( int argc, char **argv )
 
 		ld = ldap_init( ldaphost, ldapport );
 		if( ld == NULL ) {
-			perror("ldapsearch: ldap_init");
+			perror("ldapmodify: ldap_init");
 			return EXIT_FAILURE;
 		}
 
diff --git a/clients/tools/ldapmodrdn.c b/clients/tools/ldapmodrdn.c
index 442f81a9c0..257c38983b 100644
--- a/clients/tools/ldapmodrdn.c
+++ b/clients/tools/ldapmodrdn.c
@@ -82,7 +82,7 @@ usage( const char *s )
 "  -k         use Kerberos authentication\n"
 "  -K         like -k, but do only step 1 of the Kerberos bind\n"
 "  -M         enable Manage DSA IT control (-MM to make critical)\n"
-"  -n         show what would be done but don't actually search\n"
+"  -n         show what would be done but don't actually update\n"
 "  -O props   SASL security properties\n"
 "  -p port    port on LDAP server\n"
 "  -P version procotol version (default: 3)\n"
@@ -547,7 +547,7 @@ main(int argc, char **argv)
 
 		ld = ldap_init( ldaphost, ldapport );
 		if( ld == NULL ) {
-			perror("ldapsearch: ldap_init");
+			perror("ldapmodrdn: ldap_init");
 			return EXIT_FAILURE;
 		}
 
diff --git a/clients/tools/ldappasswd.c b/clients/tools/ldappasswd.c
index 10c63cd1eb..50e4d7d46f 100644
--- a/clients/tools/ldappasswd.c
+++ b/clients/tools/ldappasswd.c
@@ -44,7 +44,7 @@ usage(const char *s)
 "  -h host    LDAP server(s)\n"
 "  -H URI     LDAP Uniform Resource Indentifier(s)\n"
 "  -I         use SASL Interactive mode\n"
-"  -n         show what would be done but don't actually search\n"
+"  -n         show what would be done but don't actually do it\n"
 "  -O props   SASL security properties\n"
 "  -p port    port on LDAP server\n"
 "  -Q         use SASL Quiet mode\n"
@@ -560,7 +560,7 @@ main( int argc, char *argv[] )
 
 		ld = ldap_init( ldaphost, ldapport );
 		if( ld == NULL ) {
-			perror("ldapsearch: ldap_init");
+			perror("ldappasswd: ldap_init");
 			return EXIT_FAILURE;
 		}
 
-- 
GitLab