From f26a8c3d231f202aa2c468d96971f0d80172f393 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Mon, 4 Mar 2024 10:14:37 +0100 Subject: improve missing clients error reporting in multiple commands All the commands that need target clients now have a more descriptive error message when the clients of the command are missing. --- cli/objects/reboot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/objects/reboot.py') diff --git a/cli/objects/reboot.py b/cli/objects/reboot.py index bfa3257..ca2ee9f 100644 --- a/cli/objects/reboot.py +++ b/cli/objects/reboot.py @@ -50,7 +50,7 @@ class OgReboot(): ips.add(l) if not ips: - print("No clients found") + print("Missing --client-ip, or --room-id/--center-id. No clients provided.") return None payload = {'clients': list(ips)} -- cgit v1.2.3-18-g5258