]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Changed from PosixParser to GnuParser
authorPeter Bernard West <pbwest@apache.org>
Mon, 10 May 2004 07:32:04 +0000 (07:32 +0000)
committerPeter Bernard West <pbwest@apache.org>
Mon, 10 May 2004 07:32:04 +0000 (07:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197576 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/configuration/CLI_Options.java

index cc5bdcf3e8d8cad77b7ef05e5312266354abdb06..d45a325008ac9fca832cfc7127cecdf06b87f1db 100644 (file)
@@ -27,13 +27,13 @@ import java.util.logging.Level;
 // fop
 import org.apache.commons.cli.CommandLine;
 import org.apache.commons.cli.CommandLineParser;
+import org.apache.commons.cli.GnuParser;
 import org.apache.commons.cli.HelpFormatter;
 import org.apache.commons.cli.Option;
 import org.apache.commons.cli.OptionBuilder;
 import org.apache.commons.cli.OptionGroup;
 import org.apache.commons.cli.Options;
 import org.apache.commons.cli.ParseException;
-import org.apache.commons.cli.PosixParser;
 import org.apache.fop.apps.FOPException;
 
 /**
@@ -210,7 +210,7 @@ public class CLI_Options extends UserOptions {
      */
     private boolean parseOptions(String[] args) throws FOPException {
         options = makeOptions();
-        CommandLineParser parser = new PosixParser();
+        CommandLineParser parser = new GnuParser();
         CommandLine cli;
         String[] xslParams = null;
         String[] remArgs = null;