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/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/objects/session.py') diff --git a/cli/objects/session.py b/cli/objects/session.py index c13468f..0168cb3 100644 --- a/cli/objects/session.py +++ b/cli/objects/session.py @@ -58,7 +58,7 @@ class OgSession(): 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 = { -- cgit v1.2.3-18-g5258