def wait_for_user(msg="<STR_LIT>"):
if '<STR_LIT>' in sys.argv:<EOL><INDENT>return<EOL><DEDENT>print(msg)<EOL>try:<EOL><INDENT>answer = raw_input("<STR_LIT>")<EOL><DEDENT>except KeyboardInterrupt:<EOL><INDENT>print()<EOL>answer = '<STR_LIT>'<EOL><DEDENT>if answer != '<STR_LIT>':<EOL><INDENT>sys.stderr.write("<STR_LIT>")<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>return<EOL>
Print MSG and a confirmation prompt.

Waiting for user's confirmation, unless silent '--yes-i-know'
command line option was used, in which case the function
returns immediately without printing anything.