mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-05 18:39:37 +02:00
[options] Rename --clean-infojson
to --clean-info-json
This commit is contained in:
parent
db2e129ca0
commit
3856407a86
@ -1895,11 +1895,13 @@ #### Old aliases
|
|||||||
These are aliases that are no longer documented for various reasons
|
These are aliases that are no longer documented for various reasons
|
||||||
|
|
||||||
--avconv-location --ffmpeg-location
|
--avconv-location --ffmpeg-location
|
||||||
|
--clean-infojson --clean-info-json
|
||||||
--cn-verification-proxy URL --geo-verification-proxy URL
|
--cn-verification-proxy URL --geo-verification-proxy URL
|
||||||
--dump-headers --print-traffic
|
--dump-headers --print-traffic
|
||||||
--dump-intermediate-pages --dump-pages
|
--dump-intermediate-pages --dump-pages
|
||||||
--force-write-download-archive --force-write-archive
|
--force-write-download-archive --force-write-archive
|
||||||
--load-info --load-info-json
|
--load-info --load-info-json
|
||||||
|
--no-clean-infojson --no-clean-info-json
|
||||||
--no-split-tracks --no-split-chapters
|
--no-split-tracks --no-split-chapters
|
||||||
--no-write-srt --no-write-subs
|
--no-write-srt --no-write-subs
|
||||||
--prefer-unsecure --prefer-insecure
|
--prefer-unsecure --prefer-insecure
|
||||||
|
@ -1208,13 +1208,13 @@ def _dict_from_options_callback(
|
|||||||
action='store_false', dest='allow_playlist_files',
|
action='store_false', dest='allow_playlist_files',
|
||||||
help='Do not write playlist metadata when using --write-info-json, --write-description etc.')
|
help='Do not write playlist metadata when using --write-info-json, --write-description etc.')
|
||||||
filesystem.add_option(
|
filesystem.add_option(
|
||||||
'--clean-infojson',
|
'--clean-info-json', '--clean-infojson',
|
||||||
action='store_true', dest='clean_infojson', default=None,
|
action='store_true', dest='clean_infojson', default=None,
|
||||||
help=(
|
help=(
|
||||||
'Remove some private fields such as filenames from the infojson. '
|
'Remove some private fields such as filenames from the infojson. '
|
||||||
'Note that it could still contain some personal information (default)'))
|
'Note that it could still contain some personal information (default)'))
|
||||||
filesystem.add_option(
|
filesystem.add_option(
|
||||||
'--no-clean-infojson',
|
'--no-clean-info-json', '--no-clean-infojson',
|
||||||
action='store_false', dest='clean_infojson',
|
action='store_false', dest='clean_infojson',
|
||||||
help='Write all fields to the infojson')
|
help='Write all fields to the infojson')
|
||||||
filesystem.add_option(
|
filesystem.add_option(
|
||||||
|
Loading…
Reference in New Issue
Block a user