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/guitools/org/opends/guitools/uninstaller/UninstallerArgumentParser.java | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/opends/src/guitools/org/opends/guitools/uninstaller/UninstallerArgumentParser.java b/opends/src/guitools/org/opends/guitools/uninstaller/UninstallerArgumentParser.java
index eb0c187..56dec25 100644
--- a/opends/src/guitools/org/opends/guitools/uninstaller/UninstallerArgumentParser.java
+++ b/opends/src/guitools/org/opends/guitools/uninstaller/UninstallerArgumentParser.java
@@ -53,6 +53,7 @@
*/
public class UninstallerArgumentParser extends SecureConnectionCliParser
{
+ private BooleanArgument cliArg;
private BooleanArgument noPromptArg;
BooleanArgument forceOnErrorArg;
private BooleanArgument quietArg;
@@ -103,6 +104,12 @@
throws ArgumentException
{
LinkedHashSet<Argument> args = new LinkedHashSet<Argument>();
+ cliArg = new BooleanArgument(
+ OPTION_LONG_CLI,
+ OPTION_SHORT_CLI,
+ OPTION_LONG_CLI,
+ INFO_UNINSTALLDS_DESCRIPTION_CLI.get());
+ args.add(cliArg);
removeAllArg = new BooleanArgument(
"remove-all",
'a',
--
Gitblit v1.10.0