Minor fix for dsreplication cli
With dsreplication when both password and password file arguments were
provided on the command line, the associated conflict error message was
printed two times.
The fix removes the useless second check already performed by the call
to super.validateGlobalOptions(buf).
| | |
| | | { |
| | | int returnValue; |
| | | super.validateGlobalOptions(buf); |
| | | final List<LocalizableMessage> errors = new ArrayList<>(); |
| | | addErrorMessageIfArgumentsConflict( |
| | | errors, secureArgsList.getBindPasswordArg(), secureArgsList.getBindPasswordFileArg()); |
| | | |
| | | final List<LocalizableMessage> errors = new ArrayList<>(); |
| | | // Check that we can write on the provided path where we write the |
| | | // equivalent non-interactive commands. |
| | | if (equivalentCommandFileArgument.isPresent()) |