From: Kurt Zeilenga Date: Wed, 23 Oct 2002 18:34:54 +0000 (+0000) Subject: Add more LDIF comments X-Git-Tag: NO_SLAP_OP_BLOCKS~864 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=26e1043576f4b4a4ea5063177f4b996a4a17d97b;p=openldap Add more LDIF comments --- 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 );