From 29be609adb8377a6535926fc33c9f5906a4ec696 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Mon, 17 Sep 2007 15:27:39 +0000
Subject: [PATCH] This commit is for supporting of task scheduling in the future (right now tasks can only be scheduled to start immediately) for tasks that support scheduling.  Start time is specified by including -t/--startTime along with a date string of format 'YYYYMMDDhhmmss'.

---
 opends/src/server/org/opends/server/tools/ExportLDIF.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opends/src/server/org/opends/server/tools/ExportLDIF.java b/opends/src/server/org/opends/server/tools/ExportLDIF.java
index f4c7575..e9ebac6 100644
--- a/opends/src/server/org/opends/server/tools/ExportLDIF.java
+++ b/opends/src/server/org/opends/server/tools/ExportLDIF.java
@@ -178,10 +178,9 @@
     }
 
     // Create the command-line argument parser for use with this program.
-    Message toolDescription = INFO_LDIFEXPORT_TOOL_DESCRIPTION.get();
     LDAPConnectionArgumentParser argParser =
-         new LDAPConnectionArgumentParser("org.opends.server.tools.ExportLDIF",
-                                          toolDescription, false);
+            createArgParser("org.opends.server.tools.ExportLDIF",
+                            INFO_LDIFEXPORT_TOOL_DESCRIPTION.get());
 
 
     // Initialize all the command-line argument types and register them with the
@@ -323,6 +322,7 @@
     try
     {
       argParser.parseArguments(args);
+      validateTaskArgs();
     }
     catch (ArgumentException ae)
     {

--
Gitblit v1.10.0