From ffe22a5579efd579ab1866781286d99ca7651995 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 09 Mar 2007 19:06:23 +0000
Subject: [PATCH] Update the argument parser so that it will always treat "-?" as as request to see the usage information. Also, allow short identifiers to be requested using a forward slash in addition to a single dash (e.g., "/?" will be treated the same as "-?").
---
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPPasswordModify.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/tools/LDAPPasswordModify.java b/opendj-sdk/opends/src/server/org/opends/server/tools/LDAPPasswordModify.java
index 3e50a1d..6ee069a 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/tools/LDAPPasswordModify.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/tools/LDAPPasswordModify.java
@@ -364,7 +364,7 @@
// If the usage argument was provided, then we don't need to do anything
// else.
- if (showUsage.isPresent())
+ if (argParser.usageDisplayed())
{
return 0;
}
--
Gitblit v1.10.0