install: fix error message when target host not specified

This commit is contained in:
DavHau
2025-08-13 11:59:34 +07:00
parent adccef4757
commit 068b5d4c1e

View File

@@ -50,7 +50,7 @@ def install_command(args: argparse.Namespace) -> None:
qr_code = read_qr_json(data, args.flake)
remote = stack.enter_context(qr_code.get_best_remote())
else:
msg = "No MACHINE, --json or --png data provided"
msg = "No --target-host, --json or --png data provided"
raise ClanError(msg)
machine = Machine(name=args.machine, flake=flake)