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

matthew_swift
17.59.2010 1d131fed4f0bce4a2ce1acea9757a84925f1512a
opendj-sdk/opends/src/server/org/opends/server/tools/tasks/TaskTool.java
@@ -236,7 +236,15 @@
   * @throws CLIException if there is a problem with one of the values provided
   * by the user.
   */
  protected void validateTaskArgs() throws ArgumentException, CLIException {
  protected void validateTaskArgs() throws ArgumentException, CLIException
  {
    if ((startArg.isPresent() || recurringArg.isPresent()) &&
            !processAsTask())
    {
      throw new ArgumentException(
              ERR_TASK_TOOL_NO_VALID_LDAP_OPTIONS.get());
    }
    if (startArg.isPresent() && !NOW.equals(startArg.getValue())) {
      try {
        Date date = StaticUtils.parseDateTimeString(startArg.getValue());