def process_options(options):
    out_opt = dict()
    last_key = ''
    for option in options:
        if option.startswith('-'):
            out_opt[option] = ''
            last_key = option
        else:
            out_opt[last_key] = option
    return out_opt
def process_options(options):
    out_opt = dict()
    last_key = 
    for option in options:
        if option.startswith('-'):
            out_opt[option] = 
            last_key = option
        else:
            out_opt[last_key] = option
    return out_opt