public void addCommand(ICommand cmd) {
		if (!(cmd instanceof ITokenParser)) {
			throw new IllegalArgumentException(
					"Command must be an ITokenParser object");
		}
		optionDefinitions.put(cmd.getName(), (ITokenParser) cmd);
	}