registry = new XmlDocumentFormatRegistry(new FileInputStream(registryFile));
if (verbose) {
System.out.println("-- loaded document format registry from " + registryFile);
}
} else {
registry = new DefaultDocumentFormatRegistry();
}
String[] fileNames = commandLine.getArgs();
if ((outputFormat == null && fileNames.length != 2) || fileNames.length < 1) {
String syntax = "convert [options] input-file output-file; or\n"