def _parse_arg_line(line):
    """
    pull out the arg names from a line of CLI help text introducing args

    >>> _parse_arg_line('    -s, --sudo          run operations with sudo (nopasswd) (deprecated, use')
    ['-s', '--sudo']

    """
    return [
        part.strip().split(' ')[0].split('=')[0]
        for part in line.strip().split('  ')[0].split(',')
    ]