From: Quanah Gibson-Mount Date: Tue, 27 Nov 2007 20:27:10 +0000 (+0000) Subject: Fix, truncate should not be valid for slapadd, should be for slapindex. X-Git-Tag: OPENLDAP_REL_ENG_2_4_7~45 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=64a5b8e642271179ec07f5e3338fc5283c29ae6c;p=openldap Fix, truncate should not be valid for slapadd, should be for slapindex. --- diff --git a/servers/slapd/slapcommon.c b/servers/slapd/slapcommon.c index 1a6a043ccf..26e3601178 100644 --- a/servers/slapd/slapcommon.c +++ b/servers/slapd/slapcommon.c @@ -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;