From e739f5a09a7ef1d97fa71223fd03d5b459351119 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sun, 3 Oct 2004 21:12:25 +0000 Subject: [PATCH] advertize LDAP_SCOPE_SUBORDINATE support --- clients/tools/ldapsearch.c | 4 ++++ 1 file changed, 4 insertions(+) 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")); -- 2.39.5