From ea9b9e87abcf36995a52d271ae34e792653fd696 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Wed, 19 Sep 2007 14:40:07 +0000
Subject: [PATCH] After some discussions it has been decided to merge the setup and uninstall commands so that we have the behavior that we had before. So with this changes, in order to work in CLI mode the option --cli must be specified.
---
opends/src/server/org/opends/server/tools/InstallDSArgumentParser.java | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/opends/src/server/org/opends/server/tools/InstallDSArgumentParser.java b/opends/src/server/org/opends/server/tools/InstallDSArgumentParser.java
index cb98fd6..558be5d 100644
--- a/opends/src/server/org/opends/server/tools/InstallDSArgumentParser.java
+++ b/opends/src/server/org/opends/server/tools/InstallDSArgumentParser.java
@@ -57,9 +57,10 @@
* a given port is free) nor the validity of the certificate information
* provided.
*/
-class InstallDSArgumentParser extends ArgumentParser
+public class InstallDSArgumentParser extends ArgumentParser
{
BooleanArgument testOnlyArg;
+ BooleanArgument cliArg;
BooleanArgument addBaseEntryArg;
BooleanArgument showUsageArg;
BooleanArgument quietArg;
@@ -114,6 +115,13 @@
testOnlyArg.setHidden(true);
addArgument(testOnlyArg);
+ cliArg = new BooleanArgument(
+ OPTION_LONG_CLI,
+ OPTION_SHORT_CLI,
+ OPTION_LONG_CLI,
+ INFO_INSTALLDS_DESCRIPTION_CLI.get());
+ addArgument(cliArg);
+
configFileArg = new StringArgument(
"configfile", 'c', "configFile", false,
false, true, "{configFile}", getDefaultConfigFile(), null,
--
Gitblit v1.10.0