aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/options.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-04-10 20:52:54 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-04-10 20:58:36 +0530
commitd9aa233295ac4b679d408fd1ca8f85b3f30ddd9c (patch)
tree6491384abb986e91ed07d3e2b7d659af3e8f7258 /yt_dlp/options.py
parentf37468c41fcdb63093dee5ef800609b9ad07357a (diff)
downloadhypervideo-pre-d9aa233295ac4b679d408fd1ca8f85b3f30ddd9c.tar.lz
hypervideo-pre-d9aa233295ac4b679d408fd1ca8f85b3f30ddd9c.tar.xz
hypervideo-pre-d9aa233295ac4b679d408fd1ca8f85b3f30ddd9c.zip
Deprecate more options
* `--all-formats` = `-f all` * `--include-ads` is not implemented
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r--yt_dlp/options.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py
index 7f36777d9..ace353042 100644
--- a/yt_dlp/options.py
+++ b/yt_dlp/options.py
@@ -402,11 +402,11 @@ def parseOpts(overrideArguments=None):
selection.add_option(
'--include-ads',
dest='include_ads', action='store_true',
- help='Download advertisements as well (experimental)')
+ help=optparse.SUPPRESS_HELP)
selection.add_option(
'--no-include-ads',
dest='include_ads', action='store_false',
- help='Do not download advertisements (default)')
+ help=optparse.SUPPRESS_HELP)
authentication = optparse.OptionGroup(parser, 'Authentication Options')
authentication.add_option(
@@ -489,7 +489,7 @@ def parseOpts(overrideArguments=None):
video_format.add_option(
'--all-formats',
action='store_const', dest='format', const='all',
- help='Download all available video formats')
+ help=optparse.SUPPRESS_HELP)
video_format.add_option(
'--prefer-free-formats',
action='store_true', dest='prefer_free_formats', default=False,