From 86eb6a532d359bab70aa53bec11f61f63a11acbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Katharina=20Dr=C3=B6ge?= Date: Wed, 24 Sep 2025 17:05:52 +0200 Subject: [PATCH] Always invoke the root command as `whipper` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Katharina Dröge --- whipper/command/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whipper/command/main.py b/whipper/command/main.py index 8e06939..0da2b8b 100644 --- a/whipper/command/main.py +++ b/whipper/command/main.py @@ -52,7 +52,7 @@ def main(): ) list(map(pkg_resources.working_set.add, distributions)) try: - cmd = Whipper(sys.argv[1:], os.path.basename(sys.argv[0]), None) + cmd = Whipper(sys.argv[1:], 'whipper', None) ret = cmd.do() except SystemError as e: logger.critical("SystemError: %s", e)