/** Print usage information to provided OutputStream. */ public static void printUsage() { String applicationName = MetaExtractionMain.class.getName(); PrintWriter writer = new PrintWriter(System.out); HelpFormatter usageFormatter = new HelpFormatter(); usageFormatter.printUsage(writer, 80, applicationName, cliOptions); writer.close(); }