diff --git a/client/pom.xml b/client/pom.xml
index 235dcea0..ce453f42 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -40,7 +40,7 @@ limitations under the License.
commons-cli
commons-cli
- 1.3-SNAPSHOT
+ 1.2
commons-lang
diff --git a/client/src/main/java/org/apache/sqoop/client/shell/SqoopFunction.java b/client/src/main/java/org/apache/sqoop/client/shell/SqoopFunction.java
index af0579d4..200b3eeb 100644
--- a/client/src/main/java/org/apache/sqoop/client/shell/SqoopFunction.java
+++ b/client/src/main/java/org/apache/sqoop/client/shell/SqoopFunction.java
@@ -23,7 +23,7 @@
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
-import org.apache.commons.cli.DefaultParser;
+import org.apache.commons.cli.GnuParser;
import org.apache.commons.cli.HelpFormatter;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.ParseException;
@@ -51,7 +51,7 @@ protected CommandLine parseOptions(Options options,
args[i - start] = iterator.next();
}
- CommandLineParser parser = new DefaultParser();
+ CommandLineParser parser = new GnuParser();
CommandLine line;
try {
line = parser.parse(options, args);
@@ -60,4 +60,4 @@ protected CommandLine parseOptions(Options options,
}
return line;
}
-}
\ No newline at end of file
+}