From e504ed0e4d9425f5c821687e8e5d0a7822c45730 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Thu, 23 Aug 2007 21:57:46 +0000
Subject: [PATCH] standardized the tools various option forms for suppressing output to -Q/--quiet

---
 opends/src/guitools/org/opends/guitools/uninstaller/UninstallerArgumentParser.java |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/opends/src/guitools/org/opends/guitools/uninstaller/UninstallerArgumentParser.java b/opends/src/guitools/org/opends/guitools/uninstaller/UninstallerArgumentParser.java
index d00d408..702fad5 100644
--- a/opends/src/guitools/org/opends/guitools/uninstaller/UninstallerArgumentParser.java
+++ b/opends/src/guitools/org/opends/guitools/uninstaller/UninstallerArgumentParser.java
@@ -54,7 +54,7 @@
 {
   private BooleanArgument interactive;
   private BooleanArgument forceOnError;
-  private BooleanArgument silent;
+  private BooleanArgument quiet;
   private BooleanArgument removeAll;
   private BooleanArgument removeServerLibraries;
   private BooleanArgument removeDatabases;
@@ -163,12 +163,12 @@
         "forceOnError",
         INFO_UNINSTALLDS_DESCRIPTION_FORCE.get());
     args.add(forceOnError);
-    silent = new BooleanArgument(
-        SecureConnectionCliParser.SILENT_OPTION_LONG,
-        SecureConnectionCliParser.SILENT_OPTION_SHORT,
-        SecureConnectionCliParser.SILENT_OPTION_LONG,
+    quiet = new BooleanArgument(
+        SecureConnectionCliParser.QUIET_OPTION_LONG,
+        SecureConnectionCliParser.QUIET_OPTION_SHORT,
+        SecureConnectionCliParser.QUIET_OPTION_LONG,
         INFO_UNINSTALLDS_DESCRIPTION_SILENT.get());
-    args.add(silent);
+    args.add(quiet);
 
     adminUidArg = new StringArgument("adminUID", 'I',
         "adminUID", false, false, true, "adminUID",
@@ -224,14 +224,14 @@
   }
 
   /**
-   * Tells whether the user specified to have a silent uninstall or not.
+   * Tells whether the user specified to have a quiet uninstall or not.
    * This method must be called after calling parseArguments.
-   * @return <CODE>true</CODE> if the user specified to have a silent
+   * @return <CODE>true</CODE> if the user specified to have a quiet
    * uninstall and <CODE>false</CODE> otherwise.
    */
-  public boolean isSilent()
+  public boolean isQuiet()
   {
-    return silent.isPresent();
+    return quiet.isPresent();
   }
 
   /**

--
Gitblit v1.10.0