import re


def expand_combined_options(args):
    """
    Replace -abc with -a -b -c
    :param args:
    :return: the update args list
    """
    i = 0
    while i < args.__len__():
        if re.search("^-[a-zA-Z][a-zA-Z]+$", args[i]):
            group = args[i]
            args[i] = "-" + group[1]
            for j in range(2, group.__len__()):
                i += 1
                args.insert(i, "-" + group[j])
        i += 1
    return args