From 61cfba9be6d79eb9cea135c86330dfcad9ed29d8 Mon Sep 17 00:00:00 2001
From: lutoff <lutoff@localhost>
Date: Wed, 04 Apr 2007 07:46:18 +0000
Subject: [PATCH] Fix CLI consistency  issues: 1407 1408 1410 1411 1412 1413 1414 1416 1417 1418 1419 1420 1421

---
 opendj-sdk/opends/src/statuspanel/org/opends/statuspanel/StatusCli.java |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/opendj-sdk/opends/src/statuspanel/org/opends/statuspanel/StatusCli.java b/opendj-sdk/opends/src/statuspanel/org/opends/statuspanel/StatusCli.java
index 7d7391c..8949175 100644
--- a/opendj-sdk/opends/src/statuspanel/org/opends/statuspanel/StatusCli.java
+++ b/opendj-sdk/opends/src/statuspanel/org/opends/statuspanel/StatusCli.java
@@ -46,6 +46,8 @@
 import org.opends.statuspanel.ui.DatabasesTableModel;
 import org.opends.statuspanel.ui.ListenersTableModel;
 
+import static org.opends.server.tools.ToolConstants.*;
+
 /**
  * The class used to provide some CLI interface to display status.
  *
@@ -152,8 +154,8 @@
           }
         }
       }
-      else if (args[i].equals("-w") ||
-          args[i].equalsIgnoreCase("--bindPassword"))
+      else if (args[i].equals("-" + OPTION_SHORT_BINDPWD) ||
+          args[i].equalsIgnoreCase("--" + OPTION_LONG_BINDPWD))
       {
         if (i+1 >= args.length)
         {

--
Gitblit v1.10.0