mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
ITS#6754: Fail if there are unrecognized command-line arguments.
This commit is contained in:
parent
8018924efd
commit
a1a5affeb0
1 changed files with 3 additions and 0 deletions
|
|
@ -683,6 +683,9 @@ unhandled_option:;
|
|||
}
|
||||
}
|
||||
|
||||
if ( optind != argc )
|
||||
goto unhandled_option;
|
||||
|
||||
ber_set_option(NULL, LBER_OPT_DEBUG_LEVEL, &slap_debug);
|
||||
ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, &slap_debug);
|
||||
ldif_debug = slap_debug;
|
||||
|
|
|
|||
Loading…
Reference in a new issue