The options -h and -p got removed from client tools in commit
66af4cfd5d3c559fcdf6d722b02fa66416b95f01. 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.
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;
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 )
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 )
const char options[] = "aE: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 )
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 )
const char options[] = "a: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 )
}
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 )
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 )
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 )