def dict2args(data):
    """Convert a dictionary of options to command like arguments.

    Note: This implementation supports arguments with multiple values.
    """
    result = []
    for k, v in data.items():
        if v is not False:
            prefix = "-" if len(k) == 1 else "--"
            flag = f"{prefix}{k}".replace("_", "-")
            if v is True:
                result.append(flag)
            elif isinstance(v, (tuple, list)):
                for x in v:
                    result.extend([flag, str(x)])
            else:
                result.extend([flag, str(v)])
    return result