From 7a5a0faeda83a7428fb4ad2db20db2a2e18df051 Mon Sep 17 00:00:00 2001 From: Ali Mirjamali Date: Sat, 9 Nov 2024 11:14:32 +0330 Subject: [PATCH] Print & log argument errors instead of just logging fixes: https://github.com/QubesOS/qubes-issues/issues/9565 --- vmupdate/vmupdate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vmupdate/vmupdate.py b/vmupdate/vmupdate.py index 49d5edc..54a06f7 100644 --- a/vmupdate/vmupdate.py +++ b/vmupdate/vmupdate.py @@ -50,6 +50,7 @@ def main(args=None, app=qubesadmin.Qubes()): try: targets = get_targets(args, app) except ArgumentError as err: + print(str(err)) log.error(str(err)) return EXIT.ERR_USAGE