1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-30 20:12:59 +08:00

Document -f worstaudio as well

This commit is contained in:
Philipp Hagemeister 2014-01-22 14:55:45 +01:00
parent cd8a562267
commit 79bf58f9b5
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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',