diff options
author | pukkandan <pukkandan@gmail.com> | 2021-02-18 19:47:46 +0530 |
---|---|---|
committer | pukkandan <pukkandan@gmail.com> | 2021-02-18 23:52:32 +0530 |
commit | da9be05edfae2dae0c8019504a557568794a2aad (patch) | |
tree | cc9fa4116ebcee4014c8a5978414144fc4b43360 /youtube_dlc/options.py | |
parent | 155d2b48c51a4baec3d7bef78df68df91f2e1347 (diff) | |
download | hypervideo-pre-da9be05edfae2dae0c8019504a557568794a2aad.tar.lz hypervideo-pre-da9be05edfae2dae0c8019504a557568794a2aad.tar.xz hypervideo-pre-da9be05edfae2dae0c8019504a557568794a2aad.zip |
[documentation] Better document `--prefer-free-formats`
Also added `--no-prefer-free-formats`
Diffstat (limited to 'youtube_dlc/options.py')
-rw-r--r-- | youtube_dlc/options.py | 8 |
1 files changed, 7 insertions, 1 deletions
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', |