From a68321b270af7cad503b4058d9dd116294c8c2c8 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sun, 25 Dec 2022 17:14:15 +0200 Subject: [PATCH] Fixed status code output --- slpkg/views/cli_menu.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/slpkg/views/cli_menu.py b/slpkg/views/cli_menu.py index 75f9d82f..326a3cf3 100644 --- a/slpkg/views/cli_menu.py +++ b/slpkg/views/cli_menu.py @@ -29,7 +29,8 @@ class Usage: f' slpkg [{self.cyan}COMMAND{self.endc}] [-t, tracking] \n' " \nIf you need more information please try 'slpkg --help'.") - raise SystemExit(args) + print(args) + raise SystemExit() def help(self, status: int): """ Prints the main menu. """