From d9aa233295ac4b679d408fd1ca8f85b3f30ddd9c Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sat, 10 Apr 2021 20:52:54 +0530 Subject: Deprecate more options * `--all-formats` = `-f all` * `--include-ads` is not implemented --- yt_dlp/options.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'yt_dlp/options.py') 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, -- cgit v1.2.3