Update yt_dlp/options.py

This commit is contained in:
sepro 2025-04-11 23:16:01 +02:00 committed by GitHub
parent cbf7b54532
commit cf06204187
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -225,7 +225,7 @@ class _YoutubeDLOptionParser(optparse.OptionParser):
raise
def format_option_help(self, formatter=None):
assert formatter, ''
assert formatter, 'Formatter can not be None'
formatted_help = super().format_option_help(formatter=formatter)
formatter.indent()
heading = formatter.format_heading('Preset aliases')