commit: 79bf58f9b550d6112719ea6156bc639a427aa28e
parent cd8a562267762933a0890c84457fd19dc5a42936
Author: Philipp Hagemeister <phihag@phihag.de>
Date: Wed, 22 Jan 2014 14:55:45 +0100
Document -f worstaudio as well
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
@@ -159,8 +159,8 @@ which means you can modify it, redistribute it or use it however you like.
-f, --format FORMAT video format code, specify the order of
preference using slashes: "-f 22/17/18". "-f mp4"
and "-f flv" are also supported. You can also use
- the special names "best", "bestaudio", and
- "worst"
+ the special names "best", "bestaudio", "worst",
+ and "worstaudio"
--all-formats download all available video formats
--prefer-free-formats prefer free video formats unless a specific one
is requested
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
@@ -257,7 +257,7 @@ def parseOpts(overrideArguments=None):
video_format.add_option('-f', '--format',
action='store', dest='format', metavar='FORMAT', default=None,
- help='video format code, specify the order of preference using slashes: "-f 22/17/18". "-f mp4" and "-f flv" are also supported. You can also use the special names "best", "bestaudio", and "worst"')
+ help='video format code, specify the order of preference using slashes: "-f 22/17/18". "-f mp4" and "-f flv" are also supported. You can also use the special names "best", "bestaudio", "worst", and "worstaudio"')
video_format.add_option('--all-formats',
action='store_const', dest='format', help='download all available video formats', const='all')
video_format.add_option('--prefer-free-formats',