Skip to content
Snippets Groups Projects
Commit 64a5b8e6 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Fix, truncate should not be valid for slapadd, should be for slapindex.

parent 51330ebd
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment