mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-06 23:05:12 +01:00
Deprecate more options
* `--all-formats` = `-f all` * `--include-ads` is not implemented
This commit is contained in:
parent
f37468c41f
commit
d9aa233295
2 changed files with 6 additions and 7 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue