nooyoo11 / epubcheck

Automatically exported from code.google.com/p/epubcheck
MIT License
1 stars 0 forks source link

epubcheck 3.0 does not support -h or --help #257

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
PROBLEM:
The epubcheck-3.0.jar doesn't recognize a -h or --help option

METHOD:
Run
$ java -jar epubcheck-3.0.jar -h

or

$ java -jar epubcheck-3.0.jar --help

RESULT:
Epubcheck Version 3.0

java.lang.RuntimeException: For files other than epubs, mode must be specified! 
Default version is 3.0.
        at com.adobe.epubcheck.tool.Checker.processArguments(Checker.java:329)
        at com.adobe.epubcheck.tool.Checker.run(Checker.java:187)
        at com.adobe.epubcheck.tool.Checker.main(Checker.java:181)

EXPECTED:
I would have expected a short help output.

PLATFORM:
Running it on openSUSE 12.1, with Java 
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.5) (suse-16.1-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

Original issue reported on code.google.com by t...@suse.de on 20 Mar 2013 at 7:58

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r441.

Original comment by tobias.c...@gmail.com on 23 Mar 2013 at 5:45

GoogleCodeExporter commented 9 years ago
FYI:
 * r441 added "--help". Other help parameters are -? and -help
 * r441 adds a notice in your case that you can view help with -help

Original comment by tobias.c...@gmail.com on 24 Mar 2013 at 11:33

GoogleCodeExporter commented 9 years ago

Original comment by tobias.c...@gmail.com on 24 Mar 2013 at 4:12

GoogleCodeExporter commented 9 years ago

Original comment by markus.g...@gmail.com on 26 Mar 2013 at 10:40