From d9b2b9b7578edb367174b1a516f38feb6eb028ae Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 10 Nov 2006 23:45:06 +0000
Subject: [PATCH] Make a number of changes to administrative tools provided with OpenDS. These are all made under the umbrella of issue #994, but there are individual issues for each change.
---
opends/src/server/org/opends/server/tools/makeldif/MakeLDIF.java | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/opends/src/server/org/opends/server/tools/makeldif/MakeLDIF.java b/opends/src/server/org/opends/server/tools/makeldif/MakeLDIF.java
index 3d57c01..1676b44 100644
--- a/opends/src/server/org/opends/server/tools/makeldif/MakeLDIF.java
+++ b/opends/src/server/org/opends/server/tools/makeldif/MakeLDIF.java
@@ -46,6 +46,7 @@
import static org.opends.server.messages.MessageHandler.*;
import static org.opends.server.messages.ToolMessages.*;
+import static org.opends.server.util.ServerConstants.*;
import static org.opends.server.util.StaticUtils.*;
@@ -65,13 +66,6 @@
- /**
- * The position at which to wrap long lines of console output.
- */
- public static final int MAX_LINE_WIDTH = 79;
-
-
-
// The LDIF writer that will be used to write the entries.
private LDIFWriter ldifWriter;
@@ -122,7 +116,9 @@
public int makeLDIFMain(String[] args)
{
// Create and initialize the argument parser for this program.
- ArgumentParser argParser = new ArgumentParser(CLASS_NAME, false);
+ String toolDescription = getMessage(MSGID_MAKELDIF_TOOL_DESCRIPTION);
+ ArgumentParser argParser = new ArgumentParser(CLASS_NAME, toolDescription,
+ false);
BooleanArgument showUsage;
IntegerArgument randomSeed;
StringArgument configClass;
--
Gitblit v1.10.0