else if ("--version".startsWith(arg) || "-V".startsWith(arg)) { shift(iter); setVersion(shiftArgument(iter)); }
	public void parseArguments(List args) {		Iterator iter = args.iterator();		while (iter.hasNext()) {			String arg = (String) iter.next();			if ("--input".startsWith(arg) || "-i".startsWith(arg)) {				shift(iter);				addInputFile(shiftArgument(iter));			}			else if ("--output".startsWith(arg) || "-o".startsWith(arg)) {				shift(iter);				setOutputDirectory(shiftArgument(iter));			}			else if ("--name".startsWith(arg) || "-n".startsWith(arg)) {				shift(iter);				setApiName(shiftArgument(iter));			}			else if ("--version".startsWith(arg) || "-V".startsWith(arg)) {				shift(iter);				setVersion(shiftArgument(iter));			}			else if ("--verbose".startsWith(arg) || "-v".startsWith(arg)) {				shift(iter);				setVerbose(true);			}			else {				throw new IllegalArgumentException("unknown argument: " + arg);			}		}		if (args.size() != 0) {			throw new IllegalArgumentException("unhandled parameters: " + args);		}	}