]> git.sur5r.net Git - openldap/commitdiff
Improve -MM usage messages
authorKurt Zeilenga <kurt@openldap.org>
Thu, 15 Jul 1999 05:44:12 +0000 (05:44 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 15 Jul 1999 05:44:12 +0000 (05:44 +0000)
clients/tools/ldapmodify.c
clients/tools/ldapsearch.c

index b85239b5bdc17016b4a6cbee46dd34cc0ca36791..36edc0d29f67a8de1c7263609b1b1e98963fa6a4 100644 (file)
@@ -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"
index 42b8e1f196d7a78637b3ab2a2e2656b5bc567294..85a42c1b92e3e219cfaf7e074e225022c27bf92f 100644 (file)
@@ -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" );