0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-26 02:55:17 +00:00

[options] Rename --add-metadata to --embed-metadata

and clarify that it embeds chapter markers
This commit is contained in:
pukkandan 2021-06-20 03:54:37 +05:30
parent f89b3e2d7a
commit 7e067091e8
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698

View file

@ -1206,13 +1206,13 @@ def _dict_from_options_callback(
action='store_false', dest='embedthumbnail',
help='Do not embed thumbnail (default)')
postproc.add_option(
'--add-metadata',
'--embed-metadata', '--add-metadata',
action='store_true', dest='addmetadata', default=False,
help='Write metadata to the video file')
help='Embed metadata including chapter markers (if supported by the format) to the video file (Alias: --add-metadata)')
postproc.add_option(
'--no-add-metadata',
'--no-embed-metadata', '--no-add-metadata',
action='store_false', dest='addmetadata',
help='Do not write metadata (default)')
help='Do not write metadata (default) (Alias: --no-add-metadata)')
postproc.add_option(
'--metadata-from-title',
metavar='FORMAT', dest='metafromtitle',