From: Kurt Zeilenga Date: Thu, 15 Jul 1999 05:44:12 +0000 (+0000) Subject: Improve -MM usage messages X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d43a441eec214ac98fda233f9454f2c31aded57c;p=openldap Improve -MM usage messages --- diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index b85239b5bd..36edc0d29f 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -72,7 +72,7 @@ usage( const char *prog ) { fprintf( stderr, "Add or modify entries from an LDAP server\n\n" - "usage: %s [-abcknrvFM] [-d debug-level] [-P version] [-h ldaphost]\n" + "usage: %s [-abcknrvF] [-M[M]] [-d debug-level] [-P version] [-h ldaphost]\n" " [-p ldapport] [-D binddn] [-w passwd] [ -f file | < entryfile ]\n" " a - add values (default%s)\n" " b - read values from files (for binary attributes)\n" diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index 42b8e1f196..85a42c1b92 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -22,7 +22,9 @@ usage( char *s ) fprintf( stderr, "usage: %s [options] filter [attributes...]\nwhere:\n", s ); fprintf( stderr, " filter\tRFC-1558 compliant LDAP search filter\n" ); fprintf( stderr, " attributes\twhitespace-separated list of attributes to retrieve\n" ); - fprintf( stderr, "\t\t(if no attribute list is given, all are retrieved)\n" ); + fprintf( stderr, "\t\tempty list -- all non-operational attributes\n" ); + fprintf( stderr, "\t\t1.1 -- no attributes\n" ); + fprintf( stderr, "\t\t* -- all attributes\n" ); fprintf( stderr, "options:\n" ); fprintf( stderr, " -n\t\tshow what would be done but don't actually search\n" ); fprintf( stderr, " -v\t\trun in verbose mode (diagnostics to standard output)\n" );