aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/options.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-01-25 03:11:12 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-01-25 03:11:12 +0100
commitec82d85acdc497436e7e2e767088d3ecb5947f68 (patch)
treeb0825e7f9b687a33e6d938c52ce4c4fe81a30994 /youtube_dl/options.py
parentcfb56d1af38f3e1e0251dbd8a20e3ed8884976ff (diff)
[YoutubeDL] Implement --write-all-thumbnails (Closes #2269)
Diffstat (limited to 'youtube_dl/options.py')
-rw-r--r--youtube_dl/options.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index e3b4b8a8a..a3b012ddb 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -639,6 +639,10 @@ def parseOpts(overrideArguments=None):
action='store_true', dest='writethumbnail', default=False,
help='write thumbnail image to disk')
thumbnail.add_option(
+ '--write-all-thumbnails',
+ action='store_true', dest='write_all_thumbnails', default=False,
+ help='write all thumbnail image formats to disk')
+ thumbnail.add_option(
'--list-thumbnails',
action='store_true', dest='list_thumbnails', default=False,
help='Simulate and list all available thumbnail formats')