def usage(usageMessage, errorMessage="", out=sys.stderr):
    out.write(WRAPPER_TOP)
    out.write(usageMessage)
    exitStatus = 0
    if errorMessage:
        out.write('\n')
        out.write("*** USAGE ERROR ***: %s\n" % errorMessage)
        exitStatus = 1
    sys.exit(exitStatus)
Write help text, an optional error message, and abort the program.
dataset/ETHPy150Open skyostil/tracy/src/generator/Cheetah/CheetahWrapper.py/usage