aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/__init__.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-10-18 23:06:49 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-10-18 23:09:08 +0200
commitfdefe96bf2bf93c7df590a145b4d7572eb1b1723 (patch)
tree0b39632b3e65fb015916250e24439d0b29997bf7 /youtube_dl/__init__.py
parentcce722b79ccbe0883a1fdda4f13fe7a3f9465462 (diff)
downloadyoutube-dl-fdefe96bf2bf93c7df590a145b4d7572eb1b1723.tar.xz
Document %(format)s (#1612)
Diffstat (limited to 'youtube_dl/__init__.py')
-rw-r--r--youtube_dl/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 47acb4320..bb59f257b 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -332,7 +332,9 @@ def parseOpts(overrideArguments=None):
help=('output filename template. Use %(title)s to get the title, '
'%(uploader)s for the uploader name, %(uploader_id)s for the uploader nickname if different, '
'%(autonumber)s to get an automatically incremented number, '
- '%(ext)s for the filename extension, %(upload_date)s for the upload date (YYYYMMDD), '
+ '%(ext)s for the filename extension, '
+ '%(format)s for the format description (like "22 - 1280x720" or "HD")'
+ '%(upload_date)s for the upload date (YYYYMMDD), '
'%(extractor)s for the provider (youtube, metacafe, etc), '
'%(id)s for the video id , %(playlist)s for the playlist the video is in, '
'%(playlist_index)s for the position in the playlist and %% for a literal percent. '