From 26e1043576f4b4a4ea5063177f4b996a4a17d97b Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 23 Oct 2002 18:34:54 +0000 Subject: [PATCH] Add more 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 a9b995d0f1..28e5325b11 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -1087,8 +1087,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