Repository: tika Updated Branches: refs/heads/2.x 2a8403831 -> 24c51aa75
TIKA-1919 Project: http://git-wip-us.apache.org/repos/asf/tika/repo Commit: http://git-wip-us.apache.org/repos/asf/tika/commit/24c51aa7 Tree: http://git-wip-us.apache.org/repos/asf/tika/tree/24c51aa7 Diff: http://git-wip-us.apache.org/repos/asf/tika/diff/24c51aa7 Branch: refs/heads/2.x Commit: 24c51aa753d89e0eb631032c9f3a1e827225fba6 Parents: 2a84038 Author: tballison <[email protected]> Authored: Thu Mar 31 12:52:14 2016 -0400 Committer: tballison <[email protected]> Committed: Thu Mar 31 12:52:14 2016 -0400 ---------------------------------------------------------------------- tika-batch/pom.xml | 2 +- .../main/java/org/apache/tika/batch/fs/FSBatchProcessCLI.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tika/blob/24c51aa7/tika-batch/pom.xml ---------------------------------------------------------------------- diff --git a/tika-batch/pom.xml b/tika-batch/pom.xml index 161e22f..75b5215 100644 --- a/tika-batch/pom.xml +++ b/tika-batch/pom.xml @@ -35,7 +35,7 @@ <url>http://tika.apache.org/</url> <properties> - <cli.version>1.2</cli.version> + <cli.version>1.3.1</cli.version> </properties> <dependencies> http://git-wip-us.apache.org/repos/asf/tika/blob/24c51aa7/tika-batch/src/main/java/org/apache/tika/batch/fs/FSBatchProcessCLI.java ---------------------------------------------------------------------- diff --git a/tika-batch/src/main/java/org/apache/tika/batch/fs/FSBatchProcessCLI.java b/tika-batch/src/main/java/org/apache/tika/batch/fs/FSBatchProcessCLI.java index f358002..5bf96a9 100644 --- a/tika-batch/src/main/java/org/apache/tika/batch/fs/FSBatchProcessCLI.java +++ b/tika-batch/src/main/java/org/apache/tika/batch/fs/FSBatchProcessCLI.java @@ -29,7 +29,7 @@ import java.util.concurrent.Future; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; -import org.apache.commons.cli.GnuParser; +import org.apache.commons.cli.DefaultParser; import org.apache.commons.cli.HelpFormatter; import org.apache.commons.cli.Option; import org.apache.commons.cli.Options; @@ -93,7 +93,7 @@ public class FSBatchProcessCLI { private void execute(String[] args) throws Exception { - CommandLineParser cliParser = new GnuParser(); + CommandLineParser cliParser = new DefaultParser(); CommandLine line = cliParser.parse(options, args); if (line.hasOption("help")) {
