mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
26.10.2009 3bd1c8c395dc9f8d8ea293f3243b466ce8f21927
refs
author jvergara <jvergara@localhost>
Thursday, March 26, 2009 00:10 +0100
committer jvergara <jvergara@localhost>
Thursday, March 26, 2009 00:10 +0100
commit3bd1c8c395dc9f8d8ea293f3243b466ce8f21927
tree 3d781ec9cf3c87adba513f11c829154932c2a969 tree | zip | gz
parent 2565e82de20c71e49638671b6e8266bdab34c5fa view | diff
Fix for issue 2616 (ldapsearch: error parsing command-line arguments)

Use a MultiChoiceArgument instead of a StringArgument for the scope argument. The consequence of this is that the error message refers to the scope argument if no scope value is specified but the user provided the -s value. In addition to this the code has been modified to allow specifying capital letters for scopes (so now -b ONE is accepted by the command-line).
2 files modified
23 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPSearch.java 15 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPSearchOptions.java 8 ●●●● diff | view | raw | blame | history