From 1c36c1f3205e514717b974355f84b7fc823194d8 Mon Sep 17 00:00:00 2001 From: CeruleanSky Date: Wed, 25 Aug 2021 07:49:05 -0400 Subject: [PATCH] Fix `--no-prefer-free-formats` (#787) Authored by: CeruleanSky --- yt_dlp/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/options.py b/yt_dlp/options.py index 86aad3393..c26d498a5 100644 --- a/yt_dlp/options.py +++ b/yt_dlp/options.py @@ -548,7 +548,7 @@ def _dict_from_options_callback( 'Use with "-S ext" to strictly prefer free containers irrespective of quality')) video_format.add_option( '--no-prefer-free-formats', - action='store_true', dest='prefer_free_formats', default=False, + action='store_false', dest='prefer_free_formats', default=False, help="Don't give any special preference to free containers (default)") video_format.add_option( '--check-formats',