From 9b1384eb5e70df3e6bc1fec5aed5c841adbd094b Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Thu, 11 Feb 2016 13:46:57 +0000
Subject: [PATCH] OPENDJSDK-42 Cli arguments fluent builder

---
 opendj-sdk/opendj-cli/src/main/resources/com/forgerock/opendj/cli/cli.properties |   31 ++++++++++++-------------------
 1 files changed, 12 insertions(+), 19 deletions(-)

diff --git a/opendj-sdk/opendj-cli/src/main/resources/com/forgerock/opendj/cli/cli.properties b/opendj-sdk/opendj-cli/src/main/resources/com/forgerock/opendj/cli/cli.properties
index 956028e..4c2d7fb 100755
--- a/opendj-sdk/opendj-cli/src/main/resources/com/forgerock/opendj/cli/cli.properties
+++ b/opendj-sdk/opendj-cli/src/main/resources/com/forgerock/opendj/cli/cli.properties
@@ -21,14 +21,11 @@
 # CDDL HEADER END
 #
 #
-#      Copyright 2014-2015 ForgeRock AS.
+#      Copyright 2014-2016 ForgeRock AS.
 #
 #
 # CLI messages
 #
-ERR_ARG_NO_IDENTIFIER=The %s argument does not have either a \
- single-character or a long identifier that may be used to specify it.  At \
- least one of these must be specified for each argument
 ERR_ARG_NO_VALUE_PLACEHOLDER=The %s argument is configured to take \
  a value but no value placeholder has been defined for it
 ERR_ARG_NO_INT_VALUE=The %s argument does not have any value that \
@@ -75,8 +72,7 @@
  argument list because its short identifier -%s conflicts with the %s argument \
  that has already been defined
 ERR_ARGPARSER_DUPLICATE_LONG_ID=Cannot add argument %s to the \
- argument list because its long identifier --%s conflicts with the %s argument \
- that has already been defined
+ argument list because there is already one defined with the same identifier
 ERR_ARGPARSER_CANNOT_READ_PROPERTIES_FILE=An error occurred while \
  attempting to read the contents of the argument properties file %s:  %s
 ERR_ARGPARSER_TOO_MANY_TRAILING_ARGS=The provided set of \
@@ -203,9 +199,6 @@
  restarted
 INFO_CHECK_STOPPABILITY=Used to determine whether the server can \
  be stopped or not and the mode to be used to stop it
-INFO_DESCRIPTION_WINDOWS_NET_STOP=Used by the window service code \
- to inform that stop-ds is being called from the window services after a call \
- to net stop
 INFO_DESCRIPTION_STOP_TIME=Indicates the date/time at which the \
  shutdown operation will begin as a server task expressed in format \
  YYYYMMDDhhmmssZ for UTC time or YYYYMMDDhhmmss for local time.  A value of \
@@ -663,11 +656,11 @@
 ERR_ARG_SUBCOMMAND_ARGUMENT_SHORT_ID_GLOBAL_CONFLICT=Argument %s \
  for subcommand %s has a short ID -%s that conflicts with that of global \
  argument %s
-ERR_ARG_SUBCOMMAND_DUPLICATE_LONG_ID=Argument %s for subcommand %s \
- has a long identifier --%s that conflicts with that of argument %s
-ERR_ARG_SUBCOMMAND_ARGUMENT_LONG_ID_GLOBAL_CONFLICT=Argument %s for \
- subcommand %s has a long ID --%s that conflicts with that of global argument \
- %s
+ERR_ARG_SUBCOMMAND_DUPLICATE_LONG_ID=Failed to add Argument %s for subcommand %s \
+ because there is already an argument with the same identifier for this subcommand
+ERR_ARG_SUBCOMMAND_ARGUMENT_LONG_ID_GLOBAL_CONFLICT=Failed to add Argument %s for \
+ subcommand %s because there is already a global argument defined with the \
+ same long identifier
 ERR_SUBCMDPARSER_DUPLICATE_GLOBAL_ARG_NAME=There is already another \
  global argument named "%s"
 ERR_SUBCMDPARSER_GLOBAL_ARG_NAME_SUBCMD_CONFLICT=The argument name \
@@ -678,11 +671,11 @@
 ERR_SUBCMDPARSER_GLOBAL_ARG_SHORT_ID_CONFLICT=Short ID -%s for \
  global argument %s conflicts with the short ID for the %s argument associated \
  with subcommand %s
-ERR_SUBCMDPARSER_DUPLICATE_GLOBAL_ARG_LONG_ID=Long ID --%s for \
- global argument %s conflicts with the long ID of another global argument %s
-ERR_SUBCMDPARSER_GLOBAL_ARG_LONG_ID_CONFLICT=Long ID --%s for \
- global argument %s conflicts with the long ID for the %s argument associated \
- with subcommand %s
+ERR_SUBCMDPARSER_DUPLICATE_GLOBAL_ARG_LONG_ID=Failed to add global argument \
+ %s because there is already one defined with the same long identifier
+ERR_SUBCMDPARSER_GLOBAL_ARG_LONG_ID_CONFLICT=Failed to add argument %s to \
+ subcommand %s because there is already one argument with the same long identifier \
+ associated to this subcommand.
 ERR_SUBCMDPARSER_CANNOT_READ_PROPERTIES_FILE=An error occurred \
  while attempting to read the contents of the argument properties file %s:  %s
 ERR_SUBCMDPARSER_LONG_ARG_WITHOUT_NAME=The provided command-line \

--
Gitblit v1.10.0