From 184ed890c828220c114f60ee165ce2230ada3d7c Mon Sep 17 00:00:00 2001
From: lutoff <lutoff@localhost>
Date: Tue, 15 May 2007 08:10:13 +0000
Subject: [PATCH] issue 1430 fix (all utilities should provide as standard option -V/--version) to specify the LDAP protocol version number, we should use now      -V/--ldapVersion  to get the 'product' version    --version

---
 opends/src/server/org/opends/server/tools/StopDS.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opends/src/server/org/opends/server/tools/StopDS.java b/opends/src/server/org/opends/server/tools/StopDS.java
index 47c0182..a366bdf 100644
--- a/opends/src/server/org/opends/server/tools/StopDS.java
+++ b/opends/src/server/org/opends/server/tools/StopDS.java
@@ -403,9 +403,9 @@
     }
 
 
-    // If we should just display usage information, then exit because it will
-    // have already been done.
-    if (argParser.usageDisplayed())
+    // If we should just display usage or version information,
+    // then exit because it will have already been done.
+    if (argParser.usageOrVersionDisplayed())
     {
       return LDAPResultCode.SUCCESS;
     }

--
Gitblit v1.10.0