def METHOD_NAME(flags_dict):
    """
    Return all possible patterns for given flags
    :param flags_dict: The original dict of flags
    """
    tmp_dict = {}
    replace_char = [('_', ''), ('_', '-'), ('-', '_'), ('-', '')]
    for flag in flags_dict.keys():
        tmp_list = []
        tmp_list.extend(set(map(lambda x: flag.replace(*x), replace_char)))
        for tmp in tmp_list:
            tmp_dict[tmp] = flags_dict[flag]
    return tmp_dict