Add -f bestaudio (Fixes #2163)

This commit is contained in:
Philipp Hagemeister 2014-01-22 14:47:29 +01:00
parent a70c83768e
commit ba7678f9cc
3 changed files with 43 additions and 1 deletions

View file

@ -257,7 +257,7 @@ def parseOpts(overrideArguments=None):
video_format.add_option('-f', '--format',
action='store', dest='format', metavar='FORMAT', default='best',
help='video format code, specify the order of preference using slashes: "-f 22/17/18". "-f mp4" and "-f flv" are also supported')
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"')
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',