mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-15 08:37:48 -05:00
Remove 'h' and 'p' from options[] in client tools
The options -h and -p got removed from client tools in commit
66af4cfd5d. However, they were still
present in the options[] array in several client tools source files. So,
if one of those tools got executed with -h or -p followed by a value,
this lead to the error "unrecognized option -", without mentioning
which option was problematic. Removing 'h' and 'p' from options[] fixes
this.
This commit is contained in:
parent
e640ce282a
commit
1c18f31d1c
9 changed files with 9 additions and 9 deletions
|
|
@ -104,7 +104,7 @@ static int docompare LDAP_P((
|
|||
|
||||
|
||||
const char options[] = "z"
|
||||
"Cd:D:e:h:H:IMnNO:o:p:P:QR:U:vVw:WxX:y:Y:Z";
|
||||
"Cd:D:e:H:IMnNO:o:P:QR:U:vVw:WxX:y:Y:Z";
|
||||
|
||||
#ifdef LDAP_CONTROL_DONTUSECOPY
|
||||
int dontUseCopy = 0;
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ usage( void )
|
|||
|
||||
|
||||
const char options[] = "r"
|
||||
"cd:D:e:f:h:H:IMnNO:o:p:P:QR:U:vVw:WxX:y:Y:z:Z";
|
||||
"cd:D:e:f:H:IMnNO:o:P:QR:U:vVw:WxX:y:Y:z:Z";
|
||||
|
||||
int
|
||||
handle_private_option( int i )
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ usage( void )
|
|||
|
||||
|
||||
const char options[] = ""
|
||||
"d:D:e:h:H:InNO:o:p:QR:U:vVw:WxX:y:Y:Z";
|
||||
"d:D:e:H:InNO:o:QR:U:vVw:WxX:y:Y:Z";
|
||||
|
||||
int
|
||||
handle_private_option( int i )
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ usage( void )
|
|||
|
||||
|
||||
const char options[] = "aE:rS:"
|
||||
"cd:D:e:f:h:H:i:IMnNO:o:p:P:QR:U:vVw:WxX:y:Y:Z";
|
||||
"cd:D:e:f:H:i:IMnNO:o:P:QR:U:vVw:WxX:y:Y:Z";
|
||||
|
||||
int
|
||||
handle_private_option( int i )
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ usage( void )
|
|||
|
||||
|
||||
const char options[] = "rs:"
|
||||
"cd:D:e:f:h:H:IMnNO:o:p:P:QR:U:vVw:WxX:y:Y:Z";
|
||||
"cd:D:e:f:H:IMnNO:o:P:QR:U:vVw:WxX:y:Y:Z";
|
||||
|
||||
int
|
||||
handle_private_option( int i )
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ usage( void )
|
|||
|
||||
|
||||
const char options[] = "Ea:As:St:T:"
|
||||
"d:D:e:h:H:InNO:o:p:QR:U:vVw:WxX:y:Y:Z";
|
||||
"d:D:e:H:InNO:o:QR:U:vVw:WxX:y:Y:Z";
|
||||
|
||||
int
|
||||
handle_private_option( int i )
|
||||
|
|
|
|||
|
|
@ -363,7 +363,7 @@ parse_vlv(char *cvalue)
|
|||
}
|
||||
|
||||
const char options[] = "a:Ab:cE:F:l:Ls:S:tT:uz:"
|
||||
"Cd:D:e:f:h:H:IMnNO:o:p:P:QR:U:vVw:WxX:y:Y:Z";
|
||||
"Cd:D:e:f:H:IMnNO:o:P:QR:U:vVw:WxX:y:Y:Z";
|
||||
|
||||
int
|
||||
handle_private_option( int i )
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ usage( void )
|
|||
|
||||
|
||||
const char options[] = "abE:"
|
||||
"d:D:e:h:H:InNO:o:p:QR:U:vVw:WxX:y:Y:Z";
|
||||
"d:D:e:H:InNO:o:QR:U:vVw:WxX:y:Y:Z";
|
||||
|
||||
int
|
||||
handle_private_option( int i )
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ usage( void )
|
|||
|
||||
|
||||
const char options[] = ""
|
||||
"d:D:e:h:H:InNO:o:p:QR:U:vVw:WxX:y:Y:Z";
|
||||
"d:D:e:H:InNO:o:QR:U:vVw:WxX:y:Y:Z";
|
||||
|
||||
int
|
||||
handle_private_option( int i )
|
||||
|
|
|
|||
Loading…
Reference in a new issue