def __args_to_weka_options(args):
    """
    Function that creates list with options (args) in format
    approperiate for weka.

    :param args: dictionery with command line input
    :return: list of command line arguments
    """
    result = []
    for k,v in args.items():
        if v:
            result.append("-" + k)
            result.append(v)
        elif v == "":
            result.append("-" + k)
    return result