mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
Also fix -MM, -CC, etc..
This commit is contained in:
parent
c9cf840731
commit
9f5163e602
1 changed files with 6 additions and 6 deletions
|
|
@ -114,10 +114,10 @@ tool_args( int argc, char **argv )
|
||||||
char *control, *cvalue;
|
char *control, *cvalue;
|
||||||
switch( i ) {
|
switch( i ) {
|
||||||
case 'c': /* continuous operation mode */
|
case 'c': /* continuous operation mode */
|
||||||
contoper = 1;
|
contoper++;
|
||||||
break;
|
break;
|
||||||
case 'C':
|
case 'C':
|
||||||
referrals = 1;
|
referrals++;
|
||||||
break;
|
break;
|
||||||
case 'd':
|
case 'd':
|
||||||
debug |= atoi( optarg );
|
debug |= atoi( optarg );
|
||||||
|
|
@ -260,10 +260,10 @@ tool_args( int argc, char **argv )
|
||||||
break;
|
break;
|
||||||
case 'M':
|
case 'M':
|
||||||
/* enable Manage DSA IT */
|
/* enable Manage DSA IT */
|
||||||
manageDSAit = 1;
|
manageDSAit++;
|
||||||
break;
|
break;
|
||||||
case 'n': /* print operations, don't actually do them */
|
case 'n': /* print operations, don't actually do them */
|
||||||
not = 1;
|
not++;
|
||||||
break;
|
break;
|
||||||
case 'O':
|
case 'O':
|
||||||
#ifdef HAVE_CYRUS_SASL
|
#ifdef HAVE_CYRUS_SASL
|
||||||
|
|
@ -372,7 +372,7 @@ tool_args( int argc, char **argv )
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
case 'v': /* verbose mode */
|
case 'v': /* verbose mode */
|
||||||
verbose = 1;
|
verbose++;
|
||||||
break;
|
break;
|
||||||
case 'V': /* version */
|
case 'V': /* version */
|
||||||
version++;
|
version++;
|
||||||
|
|
@ -389,7 +389,7 @@ tool_args( int argc, char **argv )
|
||||||
passwd.bv_len = strlen( passwd.bv_val );
|
passwd.bv_len = strlen( passwd.bv_val );
|
||||||
break;
|
break;
|
||||||
case 'W':
|
case 'W':
|
||||||
want_bindpw = 1;
|
want_bindpw++;
|
||||||
break;
|
break;
|
||||||
case 'y':
|
case 'y':
|
||||||
pw_file = optarg;
|
pw_file = optarg;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue