pkgs/cli: Group dynamic completer with the correct parser for clarity

This commit is contained in:
a-kenji
2024-11-10 15:48:41 +01:00
parent f00d6b8a94
commit 3e1bbd53d2

View File

@@ -206,8 +206,8 @@ def register_update_parser(parser: argparse.ArgumentParser) -> None:
metavar="MACHINE",
help="Machine to update. If no machine is specified, all machines will be updated.",
)
add_dynamic_completer(machines_parser, complete_machines)
parser.add_argument(
"--host-key-check",
choices=["strict", "ask", "tofu", "none"],