mirror of
https://github.com/iluvcapra/mfbatch.git
synced 2025-12-31 00:40:52 +00:00
Fixed obvious bug in --help-commands
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user