diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-03-09 01:33:31 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 12:03:31 -0800 |
commit | d1b5f70bc9f9dcda1544b88b42ecc25f7f7aa1c7 (patch) | |
tree | d62848b93f601ca88cdbd113072a24dbe8779d1e /yt_dlp/options.py | |
parent | 1eae7f94c1609a6bdd37c21a7b60d4000d6e3852 (diff) | |
download | hypervideo-pre-d1b5f70bc9f9dcda1544b88b42ecc25f7f7aa1c7.tar.lz hypervideo-pre-d1b5f70bc9f9dcda1544b88b42ecc25f7f7aa1c7.tar.xz hypervideo-pre-d1b5f70bc9f9dcda1544b88b42ecc25f7f7aa1c7.zip |
[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
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r-- | yt_dlp/options.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py index 17d8d5da6..ce234d298 100644 --- a/yt_dlp/options.py +++ b/yt_dlp/options.py @@ -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', |