From 0af5344500b0f427af6b215820d9de078277c868 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Tue, 21 Aug 2007 21:03:35 +0000
Subject: [PATCH] Update the messages in admin_tool.properties to use the proper severity and not only the INFO severity.

---
 opends/src/quicksetup/org/opends/quicksetup/CliApplicationHelper.java |   21 +++++----------------
 1 files changed, 5 insertions(+), 16 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/CliApplicationHelper.java b/opends/src/quicksetup/org/opends/quicksetup/CliApplicationHelper.java
index 3ecaade..42fd65a 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/CliApplicationHelper.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/CliApplicationHelper.java
@@ -36,6 +36,7 @@
 import static org.opends.messages.QuickSetupMessages.*;
 
 import org.opends.quicksetup.util.Utils;
+import org.opends.server.admin.client.cli.SecureConnectionCliParser;
 import org.opends.server.util.args.ArgumentParser;
 import org.opends.server.util.args.ArgumentException;
 import org.opends.server.util.args.BooleanArgument;
@@ -64,18 +65,6 @@
   /** Format string used for deriving the console prompt. */
   static public final String PROMPT_FORMAT = "%s%n[%s]:";
 
-  /** Short form of the option for specifying a noninteractive session. */
-  static public final Character SILENT_OPTION_SHORT = 's';
-
-  /** Long form of the option for specifying a noninteractive session. */
-  static public final String SILENT_OPTION_LONG = "silent";
-
-  /** Short form of the option for specifying a noninteractive session. */
-  static public final Character INTERACTIVE_OPTION_SHORT = 'i';
-
-  /** Long form of the option for specifying a noninteractive session. */
-  static public final String INTERACTIVE_OPTION_LONG = "interactive";
-
   private BooleanArgument interactiveArg = null;
 
   private BooleanArgument silentArg = null;
@@ -368,15 +357,15 @@
     try {
       interactiveArg =
            new BooleanArgument("noninteractive session",
-                   INTERACTIVE_OPTION_SHORT,
-                   INTERACTIVE_OPTION_LONG,
+                   SecureConnectionCliParser.INTERACTIVE_OPTION_SHORT,
+                   SecureConnectionCliParser.INTERACTIVE_OPTION_LONG,
                    null);
       argParser.addArgument(interactiveArg);
 
       silentArg =
            new BooleanArgument("silent session",
-                   SILENT_OPTION_SHORT,
-                   SILENT_OPTION_LONG,
+                   SecureConnectionCliParser.SILENT_OPTION_SHORT,
+                   SecureConnectionCliParser.SILENT_OPTION_LONG,
                    null);
       argParser.addArgument(silentArg);
 

--
Gitblit v1.10.0