From 113630982b2ad501825a1119f7083aec8a4d7095 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Sun, 08 Oct 2006 22:28:10 +0000
Subject: [PATCH] Update the LDAPCompare tool so that when it is used with the "--help" option, it exits with a return code of zero rather than one.
---
opends/src/server/org/opends/server/tools/LDAPCompare.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opends/src/server/org/opends/server/tools/LDAPCompare.java b/opends/src/server/org/opends/server/tools/LDAPCompare.java
index f3d798e..db885ff 100644
--- a/opends/src/server/org/opends/server/tools/LDAPCompare.java
+++ b/opends/src/server/org/opends/server/tools/LDAPCompare.java
@@ -485,7 +485,7 @@
// If we should just display usage information, then print it and exit.
if (showUsage.isPresent())
{
- return 1;
+ return 0;
}
if(bindPassword.isPresent() && bindPasswordFile.isPresent())
--
Gitblit v1.10.0