Add more LDIF comments

This commit is contained in:
Kurt Zeilenga 2002-10-23 18:34:54 +00:00
parent 86dbdc1ddb
commit 26e1043576

View File

@ -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 );