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/server/org/opends/server/tools/VerifyIndex.java |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/tools/VerifyIndex.java b/opendj-sdk/opends/src/server/org/opends/server/tools/VerifyIndex.java
index 133dbfb..c952cd7 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/tools/VerifyIndex.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/tools/VerifyIndex.java
@@ -60,6 +60,7 @@
 import static org.opends.server.messages.MessageHandler.*;
 import static org.opends.server.util.ServerConstants.*;
 import static org.opends.server.util.StaticUtils.*;
+import static org.opends.server.tools.ToolConstants.*;
 
 
 
@@ -99,8 +100,9 @@
     try
     {
       configClass =
-           new StringArgument("configclass", 'C', "configClass", true, false,
-                              true, "{configClass}",
+           new StringArgument("configclass", OPTION_SHORT_CONFIG_CLASS,
+                              OPTION_LONG_CONFIG_CLASS, true, false,
+                              true, OPTION_VALUE_CONFIG_CLASS,
                               ConfigFileHandler.class.getName(), null,
                               MSGID_VERIFYINDEX_DESCRIPTION_CONFIG_CLASS);
       configClass.setHidden(true);
@@ -116,8 +118,9 @@
 
 
       baseDNString =
-           new StringArgument("basedn", 'b', "baseDN", true, false, true,
-                              "{baseDN}", null, null,
+           new StringArgument("basedn", OPTION_SHORT_BASEDN,
+                              OPTION_LONG_BASEDN, true, false, true,
+                              OPTION_VALUE_BASEDN, null, null,
                               MSGID_VERIFYINDEX_DESCRIPTION_BASE_DN);
       argParser.addArgument(baseDNString);
 
@@ -136,7 +139,7 @@
 
 
       displayUsage =
-           new BooleanArgument("help", 'H', "help",
+           new BooleanArgument("help", OPTION_SHORT_HELP, OPTION_LONG_HELP,
                                MSGID_VERIFYINDEX_DESCRIPTION_USAGE);
       argParser.addArgument(displayUsage);
       argParser.setUsageArgument(displayUsage);

--
Gitblit v1.10.0