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: