This commit is contained in:
Jamie Hardt
2024-10-15 11:34:32 -07:00
parent fb90b5db3c
commit b986a36281

View File

@@ -101,7 +101,7 @@ def main():
if options.help_commands:
print("Command Help\n------------")
commands = [command for command in dir(BatchfileParser) if
not command.startswith('_') or command is not "eval"]
not command.startswith('_') or command != "eval"]
print(f"{inspect.cleandoc(BatchfileParser.__doc__ or '')}\n\n")
for command in commands:
meth = getattr(BatchfileParser, command)