

def usageExit(self, msg=None):
    if msg:
        print(msg)
    usage = {
        'progName': self.progName,
        'catchbreak': '',
        'failfast': '',
        'buffer': '',
    }
    if (self.failfast != False):
        usage['failfast'] = FAILFAST
    if (self.catchbreak != False):
        usage['catchbreak'] = CATCHBREAK
    if (self.buffer != False):
        usage_text['buffer'] = BUFFEROUTPUT
    usage_text = (self.USAGE % usage)
    usage_lines = usage_text.split('\n')
    usage_lines.insert(2, 'Run a test suite with a subunit reporter.')
    usage_lines.insert(3, '')
    print('\n'.join(usage_lines))
    sys.exit(2)

dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/external/subunit/run.py SubunitTestProgram.usageExit/VarMisuse@102/133 `usage`->`usage_text`