From 3e1bbd53d2f9eb0b58207ccc4f8e8b3a7296ae2f Mon Sep 17 00:00:00 2001 From: a-kenji Date: Sun, 10 Nov 2024 15:48:41 +0100 Subject: [PATCH] pkgs/cli: Group dynamic completer with the correct parser for clarity --- pkgs/clan-cli/clan_cli/machines/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/clan-cli/clan_cli/machines/update.py b/pkgs/clan-cli/clan_cli/machines/update.py index e24592b84..4bb75ac12 100644 --- a/pkgs/clan-cli/clan_cli/machines/update.py +++ b/pkgs/clan-cli/clan_cli/machines/update.py @@ -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"],