From 610d9d5db338bccbd699d362711113672b781e27 Mon Sep 17 00:00:00 2001
From: lutoff <lutoff@localhost>
Date: Wed, 03 Oct 2007 14:14:46 +0000
Subject: [PATCH] Fix for issue #2409 (CLI-olh have two -V's )
---
opends/src/server/org/opends/server/util/args/ArgumentParser.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opends/src/server/org/opends/server/util/args/ArgumentParser.java b/opends/src/server/org/opends/server/util/args/ArgumentParser.java
index b5b7f71..1b8801a 100644
--- a/opends/src/server/org/opends/server/util/args/ArgumentParser.java
+++ b/opends/src/server/org/opends/server/util/args/ArgumentParser.java
@@ -535,7 +535,7 @@
/**
* Adds the provided argument to the set of arguments handled by this parser
- * and puts the arguement in the LDAP connection group.
+ * and puts the argument in the LDAP connection group.
*
* @param argument The argument to be added.
*
@@ -550,7 +550,7 @@
/**
* Adds the provided argument to the set of arguments handled by this parser
- * and puts the arguement in the input/output group.
+ * and puts the argument in the input/output group.
*
* @param argument The argument to be added.
*
@@ -1001,7 +1001,7 @@
{
// "-V" will always be interpreted as requesting
// version information except if it's already defined (e.g in
- // lpda tools).
+ // ldap tools).
usageOrVersionDisplayed = true ;
try
{
@@ -1681,7 +1681,7 @@
try {
Argument version = new BooleanArgument(
OPTION_LONG_PRODUCT_VERSION,
- OPTION_SHORT_PRODUCT_VERSION,
+ null,
OPTION_LONG_PRODUCT_VERSION,
INFO_DESCRIPTION_PRODUCT_VERSION.get());
this.generalArgGroup.addArgument(version);
--
Gitblit v1.10.0