about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2011-09-26 20:26:40 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2011-09-26 20:26:40 +0200
commit6bde5972c31decbeebcb44ff8fd7e696c85c4016 (patch)
treeae18d7eacbb7e84445f93c390f59dc61e696249e
parent36f6cb369bdb5234389b2b1bb82800149d040db5 (diff)
downloadyoutube-dl-6bde5972c31decbeebcb44ff8fd7e696c85c4016.tar.gz
youtube-dl-6bde5972c31decbeebcb44ff8fd7e696c85c4016.tar.xz
youtube-dl-6bde5972c31decbeebcb44ff8fd7e696c85c4016.zip
Mention ext in output template help
-rwxr-xr-xyoutube-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index 1afa43ff1..0b2b0a697 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -3576,7 +3576,7 @@ def parseOpts():
 			action='store_true', dest='autonumber',
 			help='number downloaded files starting from 00000', default=False)
 	filesystem.add_option('-o', '--output',
-			dest='outtmpl', metavar='TEMPLATE', help='output filename template. Use %(stitle)s to get the title, %(uploader)s for the uploader name, %(autonumber)s to get an automatically incremented number, and %% for a literal percent')
+			dest='outtmpl', metavar='TEMPLATE', help='output filename template. Use %(stitle)s to get the title, %(uploader)s for the uploader name, %(autonumber)s to get an automatically incremented number, %(ext)s for the filename extension, and %% for a literal percent')
 	filesystem.add_option('-a', '--batch-file',
 			dest='batchfile', metavar='FILE', help='file containing URLs to download (\'-\' for stdin)')
 	filesystem.add_option('-w', '--no-overwrites',