From 204843a06daa54c3ac1952ff082f7141bd2fcc8e Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 29 Oct 2002 02:04:16 +0000 Subject: [PATCH] Additional LDIF comments --- clients/tools/ldapsearch.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index 639d8c818d..e1bd8ae056 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -1030,8 +1030,14 @@ main( int argc, char **argv ) } if (ldif < 2 ) { - printf( "#\n# LDAPv%d\n# filter%s: %s\n# requesting: ", + printf( "#\n" + "# LDAPv%d\n" + "# base <%s> with scope %s\n" + "# filter%s: %s\n" + "# requesting: ", version, + base, (scope == LDAP_SCOPE_BASE) ? "base" + : ((scope == LDAP_SCOPE_ONELEVEL) ? "one" : "sub"), infile != NULL ? " pattern" : "", filtpattern ); -- 2.39.5