diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-02-10 21:13:28 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-02-11 12:07:10 +0530 |
commit | 3856407a864d832b345ac3ad58e8df68ce20eab5 (patch) | |
tree | e70c1d899688951f36943e63939fc2d35d3ba601 | |
parent | db2e129ca0c11de84d57b2298dffd5d87e852518 (diff) | |
download | hypervideo-pre-3856407a864d832b345ac3ad58e8df68ce20eab5.tar.lz hypervideo-pre-3856407a864d832b345ac3ad58e8df68ce20eab5.tar.xz hypervideo-pre-3856407a864d832b345ac3ad58e8df68ce20eab5.zip |
[options] Rename `--clean-infojson` to `--clean-info-json`
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | yt_dlp/options.py | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1895,11 +1895,13 @@ These options are not intended to be used by the end-user These are aliases that are no longer documented for various reasons --avconv-location --ffmpeg-location + --clean-infojson --clean-info-json --cn-verification-proxy URL --geo-verification-proxy URL --dump-headers --print-traffic --dump-intermediate-pages --dump-pages --force-write-download-archive --force-write-archive --load-info --load-info-json + --no-clean-infojson --no-clean-info-json --no-split-tracks --no-split-chapters --no-write-srt --no-write-subs --prefer-unsecure --prefer-insecure diff --git a/yt_dlp/options.py b/yt_dlp/options.py index d89f74ac5..2ba7d2601 100644 --- a/yt_dlp/options.py +++ b/yt_dlp/options.py @@ -1208,13 +1208,13 @@ def create_parser(): action='store_false', dest='allow_playlist_files', help='Do not write playlist metadata when using --write-info-json, --write-description etc.') filesystem.add_option( - '--clean-infojson', + '--clean-info-json', '--clean-infojson', action='store_true', dest='clean_infojson', default=None, help=( 'Remove some private fields such as filenames from the infojson. ' 'Note that it could still contain some personal information (default)')) filesystem.add_option( - '--no-clean-infojson', + '--no-clean-info-json', '--no-clean-infojson', action='store_false', dest='clean_infojson', help='Write all fields to the infojson') filesystem.add_option( |