SyntaxError, great

This commit is contained in:
Simon Sawicki 2025-04-06 16:28:25 +02:00
parent f93fdcbc06
commit cbf7b54532
No known key found for this signature in database

View File

@ -237,7 +237,8 @@ class _YoutubeDLOptionParser(optparse.OptionParser):
result.append(formatter.format_option(option))
formatter.dedent()
formatter.dedent()
return f'{formatted_help}\n{heading}{"\n".join(result)}'
help_lines = '\n'.join(result)
return f'{formatted_help}\n{heading}{help_lines}'
def create_parser():