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/InstallDS.java | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/opends/src/server/org/opends/server/tools/InstallDS.java b/opends/src/server/org/opends/server/tools/InstallDS.java
index 5a86eab..fb66501 100644
--- a/opends/src/server/org/opends/server/tools/InstallDS.java
+++ b/opends/src/server/org/opends/server/tools/InstallDS.java
@@ -52,6 +52,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.*;
@@ -77,13 +78,6 @@
/**
- * The position at which to wrap long lines.
- */
- public static final int MAX_LINE_WIDTH = 79;
-
-
-
- /**
* Indicates whether we think we're running on a Windows system.
*/
private static boolean isWindows = false;
@@ -154,7 +148,9 @@
// Create and initialize the argument parser for this program.
- ArgumentParser argParser = new ArgumentParser(CLASS_NAME, false);
+ String toolDescription = getMessage(MSGID_INSTALLDS_TOOL_DESCRIPTION);
+ ArgumentParser argParser = new ArgumentParser(CLASS_NAME, toolDescription,
+ false);
BooleanArgument addBaseEntry;
BooleanArgument testOnly;
BooleanArgument showUsage;
--
Gitblit v1.10.0