case SLAPADD:
options = "\n\t[-n databasenumber | -b suffix]\n"
- "\t[-l ldiffile] [-u] [-w]\n";
+ "\t[-l ldiffile] [-q] [-u] [-w]\n";
break;
case SLAPAUTH:
break;
case SLAPINDEX:
- options = "\n\t[-n databasenumber | -b suffix]\n";
+ options = "\n\t[-n databasenumber | -b suffix] [-q]\n";
break;
case SLAPTEST:
break;
case SLAPINDEX:
- options = "b:cd:f:n:v";
+ options = "b:cd:f:n:qv";
mode |= SLAP_TOOL_READMAIN;
break;
break;
case 'n': /* which config file db to index */
- dbnum = atoi( optarg ) - 1;
+ dbnum = atoi( optarg );
break;
case 'q': /* turn on quick */
exit( EXIT_FAILURE );
}
- be = &backends[dbnum=0];
+ be = &backends[dbnum=1];
/* If just doing the first by default and it is a
* glue subordinate, find the master.
*/