From 87eca9d0c737a61adb07ea181ae83ccb97a5e538 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 2 Oct 2025 20:35:29 +0200 Subject: [PATCH] For command line invocation, disallow (anyways ignored) additional arguments beyond "test". --- src/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/run.py b/src/run.py index 94e3bdf..a73ffeb 100755 --- a/src/run.py +++ b/src/run.py @@ -44,7 +44,7 @@ def main_loop(cls_term: type[TerminalInterface], cls_tui: type[BaseTui] if __name__ == '__main__': if len(argv) == 0: main_loop(Terminal, ClientTui) - elif len(argv) > 1 and argv[1] == 'test': + elif len(argv) == 1 and argv[1] == 'test': for path in PATH_TESTS.iterdir(): if path.parts[-1].endswith('.toml'): continue -- 2.30.2