Repository: tika
Updated Branches:
  refs/heads/2.x ce1fc3720 -> 94789a963


  * Re-enable fileUrl for tika-server (TIKA-2081).  Fix commandline options not 
to include '-'


Project: http://git-wip-us.apache.org/repos/asf/tika/repo
Commit: http://git-wip-us.apache.org/repos/asf/tika/commit/bd720892
Tree: http://git-wip-us.apache.org/repos/asf/tika/tree/bd720892
Diff: http://git-wip-us.apache.org/repos/asf/tika/diff/bd720892

Branch: refs/heads/2.x
Commit: bd72089292357fac90c62b96c9a6d9a64adf9140
Parents: ce1fc37
Author: tballison <[email protected]>
Authored: Fri Sep 23 14:18:41 2016 -0400
Committer: tballison <[email protected]>
Committed: Fri Sep 23 14:18:41 2016 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/tika/server/TikaServerCli.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tika/blob/bd720892/tika-server/src/main/java/org/apache/tika/server/TikaServerCli.java
----------------------------------------------------------------------
diff --git 
a/tika-server/src/main/java/org/apache/tika/server/TikaServerCli.java 
b/tika-server/src/main/java/org/apache/tika/server/TikaServerCli.java
index 6e8fce3..ef1bc6c 100644
--- a/tika-server/src/main/java/org/apache/tika/server/TikaServerCli.java
+++ b/tika-server/src/main/java/org/apache/tika/server/TikaServerCli.java
@@ -86,8 +86,8 @@ public class TikaServerCli {
         options.addOption("l", "log", true, "request URI log level ('debug' or 
'info')");
         options.addOption("s", "includeStack", false, "whether or not to 
return a stack trace\nif there is an exception during 'parse'");
         options.addOption("?", "help", false, "this help message");
-        options.addOption("enable-unsecure-features", false, "this is required 
to enable fileUrl.");
-        options.addOption("enable-fileUrl", false, "allows user to pass in 
fileUrl instead of InputStream.");
+        options.addOption("enableUnsecureFeatures", false, "this is required 
to enable fileUrl.");
+        options.addOption("enableFileUrl", false, "allows user to pass in 
fileUrl instead of InputStream.");
 
         return options;
     }

Reply via email to