Add help to output template
authorPhilipp Hagemeister <phihag@phihag.de>
Mon, 26 Sep 2011 18:24:43 +0000 (20:24 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Mon, 26 Sep 2011 18:24:43 +0000 (20:24 +0200)
youtube-dl

index 7a47365..1afa43f 100755 (executable)
@@ -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',