From 4bf3814d7eefb7ce4e17af501c3711e1b21b5e67 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Wed, 26 Sep 2007 15:56:11 +0000
Subject: [PATCH] Addresses issue 2143 which is intended to help with the readability of the usage statements by allowing options to be grouped logically by type.  Many of the utilities arguments have grown to such an extent that it is difficult to sort through the various types of arguments to find what you are looking for.  For instance the usage statement for the task schedulable arguments are mixed with the LDAP connection arguments which makes them difficult to ignore if they want to use the tool in offline mode.

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

diff --git a/opends/src/server/org/opends/server/tools/LDAPDelete.java b/opends/src/server/org/opends/server/tools/LDAPDelete.java
index 1aa3908..79fcaa2 100644
--- a/opends/src/server/org/opends/server/tools/LDAPDelete.java
+++ b/opends/src/server/org/opends/server/tools/LDAPDelete.java
@@ -500,7 +500,8 @@
                                     null, INFO_DESCRIPTION_VERSION.get());
       argParser.addArgument(version);
 
-      encodingStr = new StringArgument("encoding", 'i', "encoding", false,
+      encodingStr = new StringArgument("encoding", 'i',
+                                       OPTION_LONG_ENCODING, false,
                                        false, true, "{encoding}", null,  null,
                                        INFO_DESCRIPTION_ENCODING.get());
       argParser.addArgument(encodingStr);

--
Gitblit v1.10.0