From: Philipp Hagemeister Date: Mon, 26 Sep 2011 18:24:43 +0000 (+0200) Subject: Add help to output template X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=36f6cb369bdb5234389b2b1bb82800149d040db5;p=youtube-dl Add help to output template --- 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',