|
|
@ -65,8 +65,8 @@ def parse_kv(args, check_raw=False):
|
|
|
|
raise
|
|
|
|
raise
|
|
|
|
|
|
|
|
|
|
|
|
raw_params = []
|
|
|
|
raw_params = []
|
|
|
|
for x in vargs:
|
|
|
|
for orig_x in vargs:
|
|
|
|
x = _decode_escapes(x)
|
|
|
|
x = _decode_escapes(orig_x)
|
|
|
|
if "=" in x:
|
|
|
|
if "=" in x:
|
|
|
|
pos = 0
|
|
|
|
pos = 0
|
|
|
|
try:
|
|
|
|
try:
|
|
|
@ -90,7 +90,7 @@ def parse_kv(args, check_raw=False):
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
options[k.strip()] = unquote(v.strip())
|
|
|
|
options[k.strip()] = unquote(v.strip())
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
raw_params.append(x)
|
|
|
|
raw_params.append(orig_x)
|
|
|
|
|
|
|
|
|
|
|
|
# recombine the free-form params, if any were found, and assign
|
|
|
|
# recombine the free-form params, if any were found, and assign
|
|
|
|
# them to a special option for use later by the shell/command module
|
|
|
|
# them to a special option for use later by the shell/command module
|
|
|
|