From da9be05edfae2dae0c8019504a557568794a2aad Mon Sep 17 00:00:00 2001 From: pukkandan Date: Thu, 18 Feb 2021 19:47:46 +0530 Subject: [documentation] Better document `--prefer-free-formats` Also added `--no-prefer-free-formats` --- youtube_dlc/options.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'youtube_dlc/options.py') diff --git a/youtube_dlc/options.py b/youtube_dlc/options.py index bb37554ec..93f972133 100644 --- a/youtube_dlc/options.py +++ b/youtube_dlc/options.py @@ -483,7 +483,13 @@ def parseOpts(overrideArguments=None): video_format.add_option( '--prefer-free-formats', action='store_true', dest='prefer_free_formats', default=False, - help='Prefer free video formats over non-free formats of same quality') + help=( + 'Prefer video formats with free containers over non-free ones of same quality. ' + '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, + help="Don't give any special preference to free containers (default)") video_format.add_option( '-F', '--list-formats', action='store_true', dest='listformats', -- cgit v1.2.3