opendj-sdk/opendj-cli/src/main/java/com/forgerock/opendj/cli/CommonArguments.java
@@ -195,16 +195,16 @@ } /** * Returns the "version" integer argument. * Returns the "ldapVersion" integer argument. * * @return The "version" argument. * @return The "ldapVersion" argument. * @throws ArgumentException * If there is a problem with any of the parameters used to create this argument. */ public static IntegerArgument getVersion() throws ArgumentException { return new IntegerArgument("version", OPTION_SHORT_PROTOCOL_VERSION, OPTION_LONG_PROTOCOL_VERSION, false, false, true, INFO_PROTOCOL_VERSION_PLACEHOLDER.get(), 3, OPTION_LONG_PROTOCOL_VERSION, INFO_DESCRIPTION_VERSION.get()); public static IntegerArgument getLdapVersion() throws ArgumentException { return new IntegerArgument(OPTION_LONG_PROTOCOL_VERSION.toLowerCase(), OPTION_SHORT_PROTOCOL_VERSION, OPTION_LONG_PROTOCOL_VERSION, false, false, true, INFO_PROTOCOL_VERSION_PLACEHOLDER.get(), 3, OPTION_LONG_PROTOCOL_VERSION, INFO_DESCRIPTION_VERSION.get()); } /** opendj-sdk/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/LDAPCompare.java
@@ -193,7 +193,7 @@ controlStr = CommonArguments.getControl(); argParser.addArgument(controlStr); version = CommonArguments.getVersion(); version = CommonArguments.getLdapVersion(); argParser.addArgument(version); encodingStr = CommonArguments.getEncoding(); opendj-sdk/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/LDAPModify.java
@@ -332,7 +332,7 @@ controlStr.setPropertyName("control"); argParser.addArgument(controlStr); version = CommonArguments.getVersion(); version = CommonArguments.getLdapVersion(); argParser.addArgument(version); encodingStr = opendj-sdk/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/LDAPPasswordModify.java
@@ -169,7 +169,7 @@ controlStr.setPropertyName("control"); argParser.addArgument(controlStr); version = CommonArguments.getVersion(); version = CommonArguments.getLdapVersion(); argParser.addArgument(version); verbose = CommonArguments.getVerbose(); opendj-sdk/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/LDAPSearch.java
@@ -369,7 +369,7 @@ effectiveRightsAttrs.setPropertyName(OPTION_LONG_EFFECTIVERIGHTSATTR); argParser.addArgument(effectiveRightsAttrs); version = CommonArguments.getVersion(); version = CommonArguments.getLdapVersion(); argParser.addArgument(version); final StringArgument encodingStr =