commit 36f6cb369bdb5234389b2b1bb82800149d040db5
parent b845d58b040b132b94afb82acce7ccedf4f6fb27
Author: Philipp Hagemeister <phihag@phihag.de>
Date: Mon, 26 Sep 2011 20:24:43 +0200
Add help to output template
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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')
+ 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')
filesystem.add_option('-a', '--batch-file',
dest='batchfile', metavar='FILE', help='file containing URLs to download (\'-\' for stdin)')
filesystem.add_option('-w', '--no-overwrites',