Merge pull request 'pkgs/cli: Group dynamic completer with the correct parser for clarity' (#2354) from kenji/clan-core:kenji-group-completer into main

This commit is contained in:
clan-bot
2024-11-10 14:56:18 +00:00

View File

@@ -208,8 +208,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"],