summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2014-01-22 14:55:45 +0100
committerPhilipp Hagemeister <[email protected]>2014-01-22 14:55:45 +0100
commit79bf58f9b550d6112719ea6156bc639a427aa28e (patch)
tree7af49dfce19c6704a4f7453be9501976127b2933
parentcd8a562267762933a0890c84457fd19dc5a42936 (diff)
downloadyoutube-dl-79bf58f9b550d6112719ea6156bc639a427aa28e.tar.gz
youtube-dl-79bf58f9b550d6112719ea6156bc639a427aa28e.zip
Document -f worstaudio as well
-rw-r--r--README.md4
-rw-r--r--youtube_dl/__init__.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 84c43e630..3fe126c65 100644
--- 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
index c15e6ef7e..568c5e6d0 100644
--- 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',