From 55bd5ee3f2208273b1b64e35c63c2aedec263ed1 Mon Sep 17 00:00:00 2001 From: smathis Date: Tue, 9 Jun 2026 13:13:24 +0200 Subject: [PATCH] Only print help in utils scripts if specifically requested (bugfix) --- utils/decodeError.py | 2 +- utils/decodeStatus.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/decodeError.py b/utils/decodeError.py index d7ed2ee..c4e62fe 100755 --- a/utils/decodeError.py +++ b/utils/decodeError.py @@ -67,7 +67,7 @@ the next value can be typed in. Type 'quit' to close the prompt. if __name__ == "__main__": from sys import argv - if "-h" or "--help" in argv: + if "-h" in argv or "--help" in argv: print(help) if len(argv) == 1: diff --git a/utils/decodeStatus.py b/utils/decodeStatus.py index b8f00bb..22d2a2c 100755 --- a/utils/decodeStatus.py +++ b/utils/decodeStatus.py @@ -68,7 +68,7 @@ the next value can be typed in. Type 'quit' to close the prompt. if __name__ == "__main__": from sys import argv - if "-h" or "--help" in argv: + if "-h" in argv or "--help" in argv: print(help) if len(argv) == 1: