From e2b93f5183472a39023c63a95f8df426f352ef8d Mon Sep 17 00:00:00 2001 From: Jamie Hardt Date: Wed, 16 Oct 2024 14:39:41 -0700 Subject: [PATCH] Fixed obvious bug in --help-commands --- mfbatch/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mfbatch/__main__.py b/mfbatch/__main__.py index b484999..6a2805b 100644 --- a/mfbatch/__main__.py +++ b/mfbatch/__main__.py @@ -123,7 +123,7 @@ def main(): if options.help_commands: print("Command Help\n------------") commands = [command for command in dir(BatchfileParser) if - not command.startswith('_') or command != "eval"] + not command.startswith('_') and command != "eval"] print(f"{inspect.cleandoc(BatchfileParser.__doc__ or '')}\n\n") for command in commands: meth = getattr(BatchfileParser, command)