CommandLine line = null;;
CommandLine line = null;
    public static final void main(final String[] args) throws IOException {        CommandLine line = null;;        try {            line = new PosixParser().parse(OPTIONS, args);        } catch (ParseException e) {            System.err.println(e.getMessage());            System.exit(1);        }        String[] outFile = line.getArgs();        if (outFile.length != 1) {            System.out.println("Usage: ParameterPrinter [--html] [--file config-list-file] output-file");            System.exit(1);        }        if (line.hasOption("usage")) {            System.out.println("Usage: ParameterPrinter [--html] [--file config-list-file] output-file");            System.exit(0);        }        if (line.hasOption("file")) {            String file = line.getOptionValue("file");            try {                BufferedReader reader =  new BufferedReader(new FileReader(file));                String configClass;                while ((configClass = reader.readLine()) != null) {                    register(configClass);                }            } catch (IOException e) {                System.err.println(e.getMessage());                System.exit(1);            }        } else {            register("com.arsdigita.runtime.RuntimeConfig");            register("com.arsdigita.web.WebConfig");            register("com.arsdigita.templating.TemplatingConfig");            register("com.arsdigita.kernel.KernelConfig");            register("com.arsdigita.kernel.security.SecurityConfig");            register("com.arsdigita.mail.MailConfig");            register("com.arsdigita.versioning.VersioningConfig");            register("com.arsdigita.search.SearchConfig");            register("com.arsdigita.search.lucene.LuceneConfig");            register("com.arsdigita.kernel.security.SecurityConfig");            register("com.arsdigita.bebop.BebopConfig");            register("com.arsdigita.dispatcher.DispatcherConfig");            register("com.arsdigita.workflow.simple.WorkflowConfig");            register("com.arsdigita.cms.ContentSectionConfig");        }        if (line.hasOption("html")) {            final StringWriter sout = new StringWriter();            final PrintWriter out = new PrintWriter(sout);            writeXML(out);            final XSLTemplate template = new XSLTemplate                (ParameterPrinter.class.getResource                     ("ParameterPrinter_html.xsl"));            final Source source = new StreamSource                (new StringReader(sout.toString()));            final Result result = new StreamResult(new File(outFile[0]));            template.transform(source, result);        } else {            final PrintWriter out = new PrintWriter                (new FileWriter(outFile[0]));            writeXML(out);        }    }