From 79bf58f9b550d6112719ea6156bc639a427aa28e Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Wed, 22 Jan 2014 14:55:45 +0100 Subject: [PATCH] Document -f worstaudio as well --- README.md | 4 ++-- youtube_dl/__init__.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 84c43e6306..3fe126c655 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 c15e6ef7ec..568c5e6d06 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',