pkgs/cli: Apply naming standards to help strings in clan machines update

This commit is contained in:
a-kenji
2024-11-10 15:37:41 +01:00
parent 8c44d52d18
commit a9dc71f6ad

View File

@@ -204,7 +204,7 @@ def register_update_parser(parser: argparse.ArgumentParser) -> None:
nargs="*", nargs="*",
default=[], default=[],
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)
@@ -212,13 +212,13 @@ def register_update_parser(parser: argparse.ArgumentParser) -> None:
"--host-key-check", "--host-key-check",
choices=["strict", "ask", "tofu", "none"], choices=["strict", "ask", "tofu", "none"],
default="ask", default="ask",
help="Host key (.ssh/known_hosts) check mode", help="Host key (.ssh/known_hosts) check mode.",
) )
parser.add_argument( parser.add_argument(
"--target-host", "--target-host",
type=str, type=str,
help="address of the machine to update, in the format of user@host:1234", help="Address of the machine to update, in the format of user@host:1234.",
) )
parser.add_argument( parser.add_argument(
"--darwin", "--darwin",