mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-10-29 09:26:20 -07:00 
			
		
		
		
	Document -f worstaudio as well
This commit is contained in:
		| @@ -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 |     -f, --format FORMAT        video format code, specify the order of | ||||||
|                                preference using slashes: "-f 22/17/18". "-f mp4" |                                preference using slashes: "-f 22/17/18". "-f mp4" | ||||||
|                                and "-f flv" are also supported. You can also use |                                and "-f flv" are also supported. You can also use | ||||||
|                                the special names "best", "bestaudio", and |                                the special names "best", "bestaudio", "worst", | ||||||
|                                "worst" |                                and "worstaudio" | ||||||
|     --all-formats              download all available video formats |     --all-formats              download all available video formats | ||||||
|     --prefer-free-formats      prefer free video formats unless a specific one |     --prefer-free-formats      prefer free video formats unless a specific one | ||||||
|                                is requested |                                is requested | ||||||
|   | |||||||
| @@ -257,7 +257,7 @@ def parseOpts(overrideArguments=None): | |||||||
|  |  | ||||||
|     video_format.add_option('-f', '--format', |     video_format.add_option('-f', '--format', | ||||||
|             action='store', dest='format', metavar='FORMAT', default=None, |             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', |     video_format.add_option('--all-formats', | ||||||
|             action='store_const', dest='format', help='download all available video formats', const='all') |             action='store_const', dest='format', help='download all available video formats', const='all') | ||||||
|     video_format.add_option('--prefer-free-formats', |     video_format.add_option('--prefer-free-formats', | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user