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

jvergara
26.10.2009 c652314f4886517e73f2d1d0f8815067d2dfa727
refs
author jvergara <jvergara@localhost>
Thursday, March 26, 2009 00:10 +0100
committer jvergara <jvergara@localhost>
Thursday, March 26, 2009 00:10 +0100
commitc652314f4886517e73f2d1d0f8815067d2dfa727
tree 8c475ce3365795d0d8b2c0da27133fa4b06887d5 tree | zip | gz
parent 8aa9e3c4288898f16445e768320b6dad1de612e1 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
opends/src/server/org/opends/server/tools/LDAPSearch.java 15 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPSearchOptions.java 8 ●●●● diff | view | raw | blame | history