aboutsummaryrefslogtreecommitdiffstats
path: root/youtube-dl
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2011-11-28 01:00:01 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2011-11-28 01:00:01 +0100
commit31a2ec2d88c935cfacb1745628faee120504ebea (patch)
tree78ab8344ba18a3ec1e857b7d6cfa2069654d22ba /youtube-dl
parentb88a52504e3c18324c975b6f726b0597e4ce91eb (diff)
downloadhypervideo-pre-31a2ec2d88c935cfacb1745628faee120504ebea.tar.lz
hypervideo-pre-31a2ec2d88c935cfacb1745628faee120504ebea.tar.xz
hypervideo-pre-31a2ec2d88c935cfacb1745628faee120504ebea.zip
Document -o %(upload_date)s (Closes #228)
Diffstat (limited to 'youtube-dl')
-rwxr-xr-xyoutube-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index 6dac70b68..63ad30f54 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -4061,7 +4061,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, %(ext)s for the filename extension, 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, %(upload_date)s for the upload date (YYYYMMDD), 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',