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 aaab408b79
commit 995986e2cd

View File

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