mirror of
https://github.com/iluvcapra/mfbatch.git
synced 2025-12-31 08:50:51 +00:00
Fixed obvious bug in --help-commands
This commit is contained in:
@@ -123,7 +123,7 @@ def main():
|
|||||||
if options.help_commands:
|
if options.help_commands:
|
||||||
print("Command Help\n------------")
|
print("Command Help\n------------")
|
||||||
commands = [command for command in dir(BatchfileParser) if
|
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")
|
print(f"{inspect.cleandoc(BatchfileParser.__doc__ or '')}\n\n")
|
||||||
for command in commands:
|
for command in commands:
|
||||||
meth = getattr(BatchfileParser, command)
|
meth = getattr(BatchfileParser, command)
|
||||||
|
|||||||
Reference in New Issue
Block a user