if (args.length != 1) { System.err.println("Usage: " + MineBugHistory.class.getName() + " <bug collection>");
DetectorFactoryCollection.instance();  MineBugHistoryCommandLine commandLine = new MineBugHistoryCommandLine(); int argCount = commandLine.parse(args);  if (args.length - argCount != 1) { System.err.println("Usage: " + MineBugHistory.class.getName() + " [options] <bug collection>"); System.err.println("Options:"); commandLine.printUsage(System.err);
	public static void main(String[] args) throws Exception {		if (args.length != 1) {			System.err.println("Usage: " + MineBugHistory.class.getName() + " <bug collection>");			System.exit(1);		}				SortedBugCollection bugCollection = new SortedBugCollection();		bugCollection.readXML(args[0], new Project());		MineBugHistory mineBugHistory = new MineBugHistory(bugCollection);		mineBugHistory.execute();		mineBugHistory.dump(System.out);			}