mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-07-12 08:43:50 -05:00
[cleanup] Refactor __init__.py
(#2570)
* Split `__init__` code into multiple functions * Clean up validation code by grouping similar types of options * Expose `parse_options` to third parties
This commit is contained in:
@ -1182,7 +1182,7 @@ def create_parser():
|
||||
help='Do not write video description (default)')
|
||||
filesystem.add_option(
|
||||
'--write-info-json',
|
||||
action='store_true', dest='writeinfojson', default=False,
|
||||
action='store_true', dest='writeinfojson', default=None,
|
||||
help='Write video metadata to a .info.json file (this may contain personal information)')
|
||||
filesystem.add_option(
|
||||
'--no-write-info-json',
|
||||
|
Reference in New Issue
Block a user