Fix output format doc

pull/8/head
Philipp Hagemeister 12 years ago
parent 02531431f2
commit 877f4c45d3

@ -117,9 +117,9 @@ The `-o` option allows users to indicate a template for the output file names. T
- `uploader`: The sequence will be replaced by the nickname of the person who uploaded the video. - `uploader`: The sequence will be replaced by the nickname of the person who uploaded the video.
- `upload_date`: The sequence will be replaced by the upload date in YYYYMMDD format. - `upload_date`: The sequence will be replaced by the upload date in YYYYMMDD format.
- `title`: The sequence will be replaced by the video title. - `title`: The sequence will be replaced by the video title.
ext`: The sequence will be replaced by the appropriate extension (like flv or mp4). - `ext`: The sequence will be replaced by the appropriate extension (like flv or mp4).
epoch`: The sequence will be replaced by the Unix epoch when creating the file. - `epoch`: The sequence will be replaced by the Unix epoch when creating the file.
autonumber`: The sequence will be replaced by a five-digit number that will be increased with each download, starting at zero. - `autonumber`: The sequence will be replaced by a five-digit number that will be increased with each download, starting at zero.
The current default template is `%(id)s.%(ext)s`, but that will be switchted to `%(title)s-%(id)s.%(ext)s` (which can be requested with `-t` at the moment). The current default template is `%(id)s.%(ext)s`, but that will be switchted to `%(title)s-%(id)s.%(ext)s` (which can be requested with `-t` at the moment).

@ -164,10 +164,15 @@ person who uploaded the video.
in YYYYMMDD format. in YYYYMMDD format.
.IP \[bu] 2 .IP \[bu] 2
\f[C]title\f[]: The sequence will be replaced by the video title. \f[C]title\f[]: The sequence will be replaced by the video title.
ext\f[C]:\ The\ sequence\ will\ be\ replaced\ by\ the\ appropriate\ extension\ (like\ flv\ or\ mp4).\ epoch\f[]: .IP \[bu] 2
The sequence will be replaced by the Unix epoch when creating the file. \f[C]ext\f[]: The sequence will be replaced by the appropriate extension
autonumber`: The sequence will be replaced by a five-digit number that (like flv or mp4).
will be increased with each download, starting at zero. .IP \[bu] 2
\f[C]epoch\f[]: The sequence will be replaced by the Unix epoch when
creating the file.
.IP \[bu] 2
\f[C]autonumber\f[]: The sequence will be replaced by a five-digit
number that will be increased with each download, starting at zero.
.PP .PP
The current default template is \f[C]%(id)s.%(ext)s\f[], but that will The current default template is \f[C]%(id)s.%(ext)s\f[], but that will
be switchted to \f[C]%(title)s-%(id)s.%(ext)s\f[] (which can be be switchted to \f[C]%(title)s-%(id)s.%(ext)s\f[] (which can be

Loading…
Cancel
Save