From 27995a8327fd4af5c902ecd62e7b174383d8ec13 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 22 Jun 2007 16:00:28 +0000
Subject: [PATCH] Update the sub-command argument parser as follows:
---
opends/src/server/org/opends/server/messages/UtilityMessages.java | 9 +++++++++
1 files changed, 9 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 79baab2..df2540a 100644
--- a/opends/src/server/org/opends/server/messages/UtilityMessages.java
+++ b/opends/src/server/org/opends/server/messages/UtilityMessages.java
@@ -1643,6 +1643,13 @@
public static final int MSGID_SUBCMDPARSER_GLOBAL_HEADING =
CATEGORY_MASK_UTIL | SEVERITY_MASK_INFORMATIONAL | 155;
+ /**
+ * 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_HELP_REFERENCE =
+ CATEGORY_MASK_UTIL | SEVERITY_MASK_INFORMATIONAL | 156;
+
/**
* Associates a set of generic messages with the message IDs defined in this
@@ -2188,6 +2195,8 @@
"See \"%s --help-{category}\"");
registerMessage(MSGID_SUBCMDPARSER_GLOBAL_HEADING,
"The accepted value for global options are:");
+ registerMessage(MSGID_GLOBAL_HELP_REFERENCE,
+ "See \"%s --help\" to get more usage help");
}
}
--
Gitblit v1.10.0