...
This commit is contained in:
parent
08ce8ffa54
commit
2a50203fcd
@ -321,6 +321,7 @@ def get_connection_data(args: List[str], cwd: str = '', extra_args: Tuple[str, .
|
|||||||
identity_file = arg
|
identity_file = arg
|
||||||
elif expecting_extra_val:
|
elif expecting_extra_val:
|
||||||
found_extra_args.append((expecting_extra_val, arg))
|
found_extra_args.append((expecting_extra_val, arg))
|
||||||
|
expecting_extra_val = ''
|
||||||
expecting_option_val = False
|
expecting_option_val = False
|
||||||
continue
|
continue
|
||||||
|
|
||||||
@ -399,6 +400,7 @@ def parse_ssh_args(args: List[str], extra_args: Tuple[str, ...] = ()) -> Tuple[L
|
|||||||
if expecting_option_val:
|
if expecting_option_val:
|
||||||
if expecting_extra_val:
|
if expecting_extra_val:
|
||||||
found_extra_args.extend((expecting_extra_val, argument))
|
found_extra_args.extend((expecting_extra_val, argument))
|
||||||
|
expecting_extra_val = ''
|
||||||
else:
|
else:
|
||||||
ssh_args.append(argument)
|
ssh_args.append(argument)
|
||||||
expecting_option_val = False
|
expecting_option_val = False
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user