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

lutoff
24.50.2007 c760c3566a0f8d34bde8e978b94d89b61f2cd349
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);