From: Pierangelo Masarati Date: Sun, 3 Oct 2004 21:12:25 +0000 (+0000) Subject: advertize LDAP_SCOPE_SUBORDINATE support X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~468 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e739f5a09a7ef1d97fa71223fd03d5b459351119;p=openldap advertize LDAP_SCOPE_SUBORDINATE support --- diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index 44284cbd3d..17929e4ce9 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -121,7 +121,11 @@ usage( void ) fprintf( stderr, _(" -LL print responses in LDIF format without comments\n")); fprintf( stderr, _(" -LLL print responses in LDIF format without comments\n")); fprintf( stderr, _(" and version\n")); +#ifdef LDAP_SCOPE_SUBORDINATE + fprintf( stderr, _(" -s scope one of base, one, sub or children (search scope)\n")); +#else /* ! LDAP_SCOPE_SUBORDINATE */ fprintf( stderr, _(" -s scope one of base, one, or sub (search scope)\n")); +#endif /* ! LDAP_SCOPE_SUBORDINATE */ fprintf( stderr, _(" -S attr sort the results by attribute `attr'\n")); fprintf( stderr, _(" -t write binary values to files in temporary directory\n")); fprintf( stderr, _(" -tt write all values to files in temporary directory\n"));