]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Used OptionBuilder for all args
authorPeter Bernard West <pbwest@apache.org>
Sat, 6 Mar 2004 06:16:56 +0000 (06:16 +0000)
committerPeter Bernard West <pbwest@apache.org>
Sat, 6 Mar 2004 06:16:56 +0000 (06:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197420 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/apps/FOPOptions.java

index d867a3679eb4213e85304804d3d7b1aa762c3117..17ca4641c58972f3f658794e6fa82bfb5763af96 100644 (file)
@@ -519,8 +519,12 @@ public class FOPOptions {
         // Add verbosity to options
         options.addOptionGroup(verbosity);
         // Add the dump-config option directly
-        options.addOption(new Option(
-                "x", "dump-config", NO_ARG, "Dump configuration settings"));
+        options.addOption(
+                OptionBuilder
+                .withArgName("dump config")
+                .withLongOpt("dump-config")
+                .withDescription("Dump configuration settings")
+                .create("x"));
         // Add the config-file option directly
         options.addOption(
                 OptionBuilder