def METHOD_NAME(args = None):
	"""
	Parses command-line arguments and sets module runtime flags.
	"""
	if args is None:
		args = sys.argv
	if "-h" in args or "--help" in args:
		print("-h | --help    Print this message\n"
			  "-v | --verbose Report more details\n"
			  "-q | --nodiff  Do not report diffs of changes\n"
			  "-w | --write   Apply fixes to source code file\n")
		sys.exit(0)
	global READONLY
	READONLY = not ("-w" in args)
	global VERBOSE
	VERBOSE = ("-v" in args or "--verbose" in args)
	global SHOW_DIFFS
	SHOW_DIFFS = not ("-q" in args or "--nodiff" in args)