We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a41019 commit 27ee680Copy full SHA for 27ee680
acquire/acquire.py
@@ -1704,7 +1704,7 @@ def print_acquire_warning(target: Target) -> None:
1704
def modargs2json(args: argparse.Namespace) -> dict:
1705
json_opts = {}
1706
for module in MODULES.values():
1707
- cli_arg = module.__cli_args__[0][1]
+ cli_arg = module.__cli_args__[-1:][0][1]
1708
if opt := cli_arg.get("dest"):
1709
json_opts[opt] = getattr(args, opt)
1710
return json_opts
0 commit comments