if (args.length != 3) { System.err.println("Usage: " + UpdateBugCollection.class.getName() +
UpdateBugCollectionCommandLine commandLine = new UpdateBugCollectionCommandLine(); int argCount = commandLine.parse(args);  if (args.length - argCount != 3) { System.err.println("Usage: " + UpdateBugCollection.class.getName() + " [options] " +
	public static void main(String[] args) throws IOException, DocumentException {		if (args.length != 3) {			System.err.println("Usage: " + UpdateBugCollection.class.getName() +					" <bug collection to update> <new bug colllection> <output bug collection>");			System.exit(1);		}				String origFileName = args[0];		String newFileName = args[1];		String outputFileName = args[2];				SortedBugCollection origCollection = new SortedBugCollection();		origCollection.readXML(origFileName, new Project());				Project currentProject = new Project();		SortedBugCollection newCollection = new SortedBugCollection();		newCollection.readXML(newFileName, currentProject);				UpdateBugCollection updater = new UpdateBugCollection(origCollection, newCollection);		updater.execute();				// FIXME: should transfer analysis errors and missing classes				origCollection.writeXML(outputFileName, currentProject);	}