mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-13 16:08:29 +00:00
Merge 78d8620ae5
into bdeb3eb3f2
This commit is contained in:
commit
8475a4ca99
@ -856,6 +856,10 @@ def _preset_alias_callback(option, opt_str, value, parser):
|
||||
dest='format_sort', default=[], type='str', action='callback',
|
||||
callback=_list_from_options_callback, callback_kwargs={'append': -1},
|
||||
help='Sort the formats by the fields given, see "Sorting Formats" for more details')
|
||||
video_format.add_option(
|
||||
'--format-sort-reset',
|
||||
dest='format_sort', action='store_const', const=[],
|
||||
help='Resets format sort order to yt-dlp default')
|
||||
video_format.add_option(
|
||||
'--format-sort-force', '--S-force',
|
||||
action='store_true', dest='format_sort_force', metavar='FORMAT', default=False,
|
||||
|
Loading…
Reference in New Issue
Block a user