From 37de7a1e53f4b3a69030828068557fcd9a4b0722 Mon Sep 17 00:00:00 2001
From: lutoff <lutoff@localhost>
Date: Wed, 23 May 2007 08:43:18 +0000
Subject: [PATCH] This is the first commit related to issue https://opends.dev.java.net/issues/show_bug.cgi?id=1334 This commit defines the CLI usage, with no underlying action.

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

diff --git a/opends/src/server/org/opends/server/messages/UtilityMessages.java b/opends/src/server/org/opends/server/messages/UtilityMessages.java
index a87232d..bb6033e 100644
--- a/opends/src/server/org/opends/server/messages/UtilityMessages.java
+++ b/opends/src/server/org/opends/server/messages/UtilityMessages.java
@@ -1591,6 +1591,27 @@
   public static final int MSGID_VALIDATOR_PRECONDITION_NOT_MET =
        CATEGORY_MASK_UTIL | SEVERITY_MASK_SEVERE_ERROR | 148;
 
+  /**
+   * The message ID for the message that will be used as the description of the
+   * Global option.  This does not take any arguments.
+   */
+  public static final int MSGID_GLOBAL_OPTIONS =
+    CATEGORY_MASK_UTIL | SEVERITY_MASK_INFORMATIONAL | 149;
+
+  /**
+   * The message ID for the message that will be used as the description of the
+   * Global option reference.  This does take one argument.
+   */
+  public static final int MSGID_GLOBAL_OPTIONS_REFERENCE =
+    CATEGORY_MASK_UTIL | SEVERITY_MASK_INFORMATIONAL | 150;
+
+  /**
+   * The message ID for the message that will be used as the description of the
+   * Global option reference.  This does take 2 arguments.
+   */
+  public static final int MSGID_SUBCMD_OPTIONS =
+    CATEGORY_MASK_UTIL | SEVERITY_MASK_INFORMATIONAL | 151;
+
 
   /**
    * Associates a set of generic messages with the message IDs defined in this
@@ -2121,6 +2142,13 @@
                     "A precondition of the invoked method was not met.  This " +
                     "This usually means there is a defect somewhere in the " +
                     "call stack.  Details: %s");
+
+    registerMessage(MSGID_GLOBAL_OPTIONS,
+                    "Global Options:");
+    registerMessage(MSGID_GLOBAL_OPTIONS_REFERENCE,
+                    "See \"%s --help\"");
+    registerMessage(MSGID_SUBCMD_OPTIONS,
+                    "SubCommand Options:");
   }
 }
 

--
Gitblit v1.10.0