]> git.sur5r.net Git - openldap/commitdiff
Fix, truncate should not be valid for slapadd, should be for slapindex.
authorHoward Chu <hyc@openldap.org>
Wed, 21 Nov 2007 15:40:09 +0000 (15:40 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 21 Nov 2007 15:40:09 +0000 (15:40 +0000)
servers/slapd/slapcommon.c

index 1a6a043ccfa7a4b3e96296b969157ae10198bdcb..26e36011788421735ce807f4d8138ef139aa4997 100644 (file)
@@ -88,7 +88,7 @@ usage( int tool, const char *progname )
                break;
 
        case SLAPINDEX:
-               options = " [-c]\n\t[-g] [-n databasenumber | -b suffix] [attr ...] [-q]\n";
+               options = " [-c]\n\t[-g] [-n databasenumber | -b suffix] [attr ...] [-q] [-t]\n";
                break;
 
        case SLAPTEST:
@@ -241,7 +241,7 @@ slap_tool_init(
 
        switch( tool ) {
        case SLAPADD:
-               options = "b:cd:f:F:gj:l:n:o:qsS:tuvw";
+               options = "b:cd:f:F:gj:l:n:o:qsS:uvw";
                break;
 
        case SLAPCAT:
@@ -265,7 +265,7 @@ slap_tool_init(
                break;
 
        case SLAPINDEX:
-               options = "b:cd:f:F:gn:o:qv";
+               options = "b:cd:f:F:gn:o:qtv";
                mode |= SLAP_TOOL_READMAIN;
                break;