From 8bf7eeda4c077debb672864bdc54ada80b7a1647 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Sun, 10 Nov 2024 15:43:03 +0100 Subject: [PATCH] pkgs/cli: Improve error message on `clan machines update` --- pkgs/clan-cli/clan_cli/machines/update.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/clan-cli/clan_cli/machines/update.py b/pkgs/clan-cli/clan_cli/machines/update.py index e24592b84..1a6ef39ba 100644 --- a/pkgs/clan-cli/clan_cli/machines/update.py +++ b/pkgs/clan-cli/clan_cli/machines/update.py @@ -182,7 +182,9 @@ def update(args: argparse.Namespace) -> None: if not machines and ignored_machines != []: print( - "WARNING: No machines to update. The following defined machines were ignored because they do not have `clan.core.networking.targetHost` nixos option set:", + "WARNING: No machines to update." + "The following defined machines were ignored because they" + "do not have the `clan.core.networking.targetHost` nixos option set:", file=sys.stderr, ) for machine in ignored_machines: