mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-14 20:33:19 +00:00
Document order of preference for format selection (closes #798)
This commit is contained in:
parent
c70446c7df
commit
f4b659f782
|
@ -98,7 +98,8 @@ ## Verbosity / Simulation Options:
|
||||||
verbose)
|
verbose)
|
||||||
|
|
||||||
## Video Format Options:
|
## Video Format Options:
|
||||||
-f, --format FORMAT video format code
|
-f, --format FORMAT video format code, specifiy the order of
|
||||||
|
preference using slashes: "-f 22/17/18"
|
||||||
--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
|
||||||
|
|
|
@ -165,7 +165,8 @@ def _find_term_columns():
|
||||||
|
|
||||||
|
|
||||||
video_format.add_option('-f', '--format',
|
video_format.add_option('-f', '--format',
|
||||||
action='store', dest='format', metavar='FORMAT', help='video format code')
|
action='store', dest='format', metavar='FORMAT',
|
||||||
|
help='video format code, specifiy the order of preference using slashes: "-f 22/17/18"')
|
||||||
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',
|
||||||
|
|
Loading…
Reference in a new issue