Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
2.5
-
None
-
None
-
Operating System: Linux
Platform: PC
-
45971
Description
The following problems are associated with the command line interface (CLI) to Fop:
1. Running 'fop' with no arguments throws an exception after printing
a usage statement.
2. Running 'fop -v' throws an exception after printing the version.
3. Current usage and help messages refer to 'Fop' while the user
executes 'fop'.
The attached patch was generated by running 'svn diff' at the top of
the working directory of a checked-out fop trunk at revision 702651.
It affects the following files:
src/java/org/apache/fop/cli/CommandLineOptions.java
src/java/org/apache/fop/cli/Main.java
It corrects all three issues listed above.