From e4bda951f24517dd0aa2ab3c7671e179785c3faa Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 02 Nov 2007 12:05:52 +0000
Subject: [PATCH] The following modifications are aimed to have the same interaction in the status and dsconfig command lines by sharing the same code. The formatting of the table in status command-line has also be modified to be consistent with the one provided by dsconfig.

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

diff --git a/opends/src/server/org/opends/server/tools/dsconfig/GetPropSubCommandHandler.java b/opends/src/server/org/opends/server/tools/dsconfig/GetPropSubCommandHandler.java
index 5d2850c..a8f47b3 100644
--- a/opends/src/server/org/opends/server/tools/dsconfig/GetPropSubCommandHandler.java
+++ b/opends/src/server/org/opends/server/tools/dsconfig/GetPropSubCommandHandler.java
@@ -62,6 +62,7 @@
 import org.opends.server.admin.client.ManagementContext;
 import org.opends.server.protocols.ldap.LDAPResultCode;
 import org.opends.server.tools.ClientException;
+import org.opends.server.tools.ToolConstants;
 import org.opends.server.util.args.ArgumentException;
 import org.opends.server.util.args.StringArgument;
 import org.opends.server.util.args.SubCommand;
@@ -295,7 +296,7 @@
       builder.print(printer);
     } else {
       TextTablePrinter printer = new TextTablePrinter(out);
-      printer.setColumnSeparator(":");
+      printer.setColumnSeparator(ToolConstants.LIST_TABLE_SEPARATOR);
       printer.setColumnWidth(1, 0);
       builder.print(printer);
     }

--
Gitblit v1.10.0