diff options
author | Kieran <kieran.eglin@gmail.com> | 2024-09-27 13:52:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-27 20:52:41 +0000 |
commit | c08e0b20b5edd8957b8318716bc14e896d1b96f4 (patch) | |
tree | 741a74c97f18bd80827d7f9e0233cf2161dca3fb /yt_dlp/options.py | |
parent | 0aa4426e9a35f7f8e184f1f2082b3b313c1448f7 (diff) |
Allow `none` arg to negate `--convert-subs` and `--convert-thumbnails` (#11066)
Authored by: kieraneglin
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r-- | yt_dlp/options.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py index ffe2463fe..8077d5d88 100644 --- a/yt_dlp/options.py +++ b/yt_dlp/options.py @@ -1725,15 +1725,17 @@ def create_parser(): '--convert-subs', '--convert-sub', '--convert-subtitles', metavar='FORMAT', dest='convertsubtitles', default=None, help=( - 'Convert the subtitles to another format (currently supported: {}) ' - '(Alias: --convert-subtitles)'.format(', '.join(sorted(FFmpegSubtitlesConvertorPP.SUPPORTED_EXTS))))) + 'Convert the subtitles to another format ' + f'(currently supported: {", ".join(sorted(FFmpegSubtitlesConvertorPP.SUPPORTED_EXTS))}). ' + 'Use "--convert-subs none" to disable conversion (default) (Alias: --convert-subtitles)')) postproc.add_option( '--convert-thumbnails', metavar='FORMAT', dest='convertthumbnails', default=None, help=( 'Convert the thumbnails to another format ' f'(currently supported: {", ".join(sorted(FFmpegThumbnailsConvertorPP.SUPPORTED_EXTS))}). ' - 'You can specify multiple rules using similar syntax as --remux-video')) + 'You can specify multiple rules using similar syntax as "--remux-video". ' + 'Use "--convert-thumbnails none" to disable conversion (default)')) postproc.add_option( '--split-chapters', '--split-tracks', dest='split_chapters', action='store_true', default=False, |