int verbose = 0;
int continuemode = 0;
int nosubordinates = 0;
+int dryrun = 0;
char *ldiffile = NULL;
FILE *ldiffp = NULL;
switch( tool ) {
case SLAPADD:
- options = "b:cd:f:l:n:tv";
+ options = "b:cd:f:l:n:tuv";
break;
case SLAPINDEX:
mode |= SLAP_TRUNCATE_MODE;
break;
+ case 'u': /* dry run */
+ dryrun++;
+ break;
+
case 'v': /* turn on verbose */
verbose++;
break;