diff --git a/slpkg/main.py b/slpkg/main.py index e008c3c7..6d9de8df 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -741,14 +741,13 @@ def main() -> None: 'tracking': menu.tracking, '-t': menu.tracking } - arguments[args[0]]() - # try: - # arguments[args[0]]() - # except (KeyError, IndexError): - # usage.help_short(1) - # except KeyboardInterrupt: - # raise SystemExit(1) + try: + arguments[args[0]]() + except (KeyError, IndexError): + usage.help_short(1) + except KeyboardInterrupt: + raise SystemExit(1) if __name__ == '__main__':