opendj-sdk/opends/src/server/org/opends/server/util/args/SubCommandArgumentParser.java
@@ -809,14 +809,14 @@ } } } else if (arg.startsWith("-") || arg.startsWith("/")) else if (arg.startsWith("-")) { // This indicates that we are using the 1-character name to reference // the argument. It may be in any of the following forms: // -n // -nvalue // -n value if (arg.equals("-") || arg.equals("/")) if (arg.equals("-")) { int msgID = MSGID_SUBCMDPARSER_INVALID_DASH_AS_ARGUMENT; String message = getMessage(msgID);