def METHOD_NAME(text):
    if not text:
        return
    lines = text.splitlines()
    ret = {}
    try:
        ret['USAGE'] = RE_USAGE.search(lines[0]).group()
    except AttributeError:
        pass
    except IndexError:
        breakpoint()
    section = 'DESCRIPTION'
    buffer = []
    for line in lines[1:]:
        if RE_SECTION.search(line):
            ret[section] = '\n'.join(list_strip(buffer))
            buffer = []
            section = RE_SECTION.search(line).groups()[0].replace(':', '')
        else:
            buffer.append(line)
    else:
        ret[section] = '\n'.join(list_strip(buffer))
    if 'USAGE' not in ret:
        try:
            ret['USAGE'] = ret.pop('SYNOPSIS')
        except KeyError:
            ret['USAGE'] = ''
    if 'NAME' in ret:
        ret.pop('NAME')
    return ret