From 184ed890c828220c114f60ee165ce2230ada3d7c Mon Sep 17 00:00:00 2001
From: lutoff <lutoff@localhost>
Date: Tue, 15 May 2007 08:10:13 +0000
Subject: [PATCH] issue 1430 fix (all utilities should provide as standard option -V/--version) to specify the LDAP protocol version number, we should use now      -V/--ldapVersion  to get the 'product' version    --version

---
 opends/src/server/org/opends/server/messages/ToolMessages.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/messages/ToolMessages.java b/opends/src/server/org/opends/server/messages/ToolMessages.java
index eaf42e8..d9c4338 100644
--- a/opends/src/server/org/opends/server/messages/ToolMessages.java
+++ b/opends/src/server/org/opends/server/messages/ToolMessages.java
@@ -7093,6 +7093,13 @@
  public static final int MSGID_EFFECTIVERIGHTS_INVALID_AUTHZID =
       CATEGORY_MASK_TOOLS | SEVERITY_MASK_MILD_ERROR | 890;
 
+ /**
+  * The message ID for the message that will be used as the description of the
+  * version argument.  This does not take any arguments.
+  */
+ public static final int MSGID_DESCRIPTION_PRODUCT_VERSION =
+      CATEGORY_MASK_TOOLS | SEVERITY_MASK_INFORMATIONAL | 891;
+
 
   /**
    * Associates a set of generic messages with the message IDs defined in this
@@ -9332,6 +9339,9 @@
                     "The authorization ID \"%s\" contained in the " +
                      "geteffectiverights control is invalid because it does" +
                      " not start with \"dn:\" to indicate a user DN");
+
+   registerMessage(MSGID_DESCRIPTION_PRODUCT_VERSION,
+                   "Display Directory Server version information");
   }
 }
 

--
Gitblit v1.10.0