aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2011-09-26 20:24:43 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2011-09-26 20:24:43 +0200
commit36f6cb369bdb5234389b2b1bb82800149d040db5 (patch)
treef38e40eeb386b9aedb0d65889941742725e8881a
parentb845d58b040b132b94afb82acce7ccedf4f6fb27 (diff)
downloadyoutube-dl-36f6cb369bdb5234389b2b1bb82800149d040db5.tar.xz
Add help to output template
-rwxr-xr-xyoutube-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index 7a4736597..1afa43ff1 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')
+ 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',