def get_option_value(prefix):
	"""returns FILENAME for -o prefix and -oFILENAME or -o=FILENAME"""
	result = None
	for s in sys.argv:
		if s.startswith(prefix):
			result = s[len(prefix):]
			if result.startswith('='):
				result = result[1:]
	return result
returns FILENAME for -o prefix and -oFILENAME or -o=FILENAME
recipes/Python/576534_Dump_Oracle_db_schema_to_text/recipe-576534.py