From 802263ae38d5d54acdd4945dbbce39c5f6bd26eb Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Mon, 23 Jul 2007 17:55:12 +0000
Subject: [PATCH] Fix issue 1819: add support for tagging properties as advanced.
---
opends/src/server/org/opends/server/messages/ToolMessages.java | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 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 ff884f7..615a0b2 100644
--- a/opends/src/server/org/opends/server/messages/ToolMessages.java
+++ b/opends/src/server/org/opends/server/messages/ToolMessages.java
@@ -9181,6 +9181,31 @@
public static final int MSGID_CLI_HEADING_PROPERTY_DEFAULT_VALUE =
CATEGORY_MASK_TOOLS | SEVERITY_MASK_INFORMATIONAL | 1215;
+ /**
+ * The message ID for the message that will be used as the
+ * description of the advanced mode argument in get-xxx-prop
+ * sub-commands. This takes a single argument which is the user
+ * friendly name of the component.
+ */
+ public static final int MSGID_DSCFG_DESCRIPTION_ADVANCED_GET =
+ CATEGORY_MASK_TOOLS | SEVERITY_MASK_INFORMATIONAL | 1216;
+
+ /**
+ * The message ID for the message that will be used as the
+ * description of the advanced mode argument in create-xxx and
+ * set-xxx-prop sub-commands. This takes no arguments.
+ */
+ public static final int MSGID_DSCFG_DESCRIPTION_ADVANCED_SET =
+ CATEGORY_MASK_TOOLS | SEVERITY_MASK_INFORMATIONAL | 1217;
+
+ /**
+ * The message ID for the message that will be used as the
+ * description of the advanced mode argument in the list-properties
+ * sub-command. This takes no arguments.
+ */
+ public static final int MSGID_DSCFG_DESCRIPTION_ADVANCED_HELP =
+ CATEGORY_MASK_TOOLS | SEVERITY_MASK_INFORMATIONAL | 1218;
+
/**
* Associates a set of generic messages with the message IDs defined in this
@@ -11543,6 +11568,18 @@
"Modifies the display output to show one property " +
"value per line");
+ registerMessage(MSGID_DSCFG_DESCRIPTION_ADVANCED_GET,
+ "Modifies the display output to show the advanced " +
+ "properties of the %s");
+
+ registerMessage(MSGID_DSCFG_DESCRIPTION_ADVANCED_SET,
+ "Allows the configuration of advanced properties " +
+ "during interactive mode");
+
+ registerMessage(MSGID_DSCFG_DESCRIPTION_ADVANCED_HELP,
+ "Modifies the display output to show the advanced " +
+ "properties of components");
+
registerMessage(MSGID_DSCFG_DESCRIPTION_FORCE, "Ignore non-existent %s");
registerMessage(MSGID_DSCFG_DESCRIPTION_UNIT_TIME,
--
Gitblit v1.10.0