[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 parseOpts(overrideArguments=None):
action='store_false', dest='embedthumbnail', action='store_false', dest='embedthumbnail',
help='Do not embed thumbnail (default)') help='Do not embed thumbnail (default)')
postproc.add_option( postproc.add_option(
'--add-metadata', '--embed-metadata', '--add-metadata',
action='store_true', dest='addmetadata', default=False, 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( postproc.add_option(
'--no-add-metadata', '--no-embed-metadata', '--no-add-metadata',
action='store_false', dest='addmetadata', action='store_false', dest='addmetadata',
help='Do not write metadata (default)') help='Do not write metadata (default) (Alias: --no-add-metadata)')
postproc.add_option( postproc.add_option(
'--metadata-from-title', '--metadata-from-title',
metavar='FORMAT', dest='metafromtitle', metavar='FORMAT', dest='metafromtitle',