Suppress help for all deprecated options and print warning when used
This commit is contained in:
parent
f2980fddeb
commit
be5df5ee31
3 changed files with 20 additions and 9 deletions
|
@ -416,6 +416,9 @@ def _real_main(argv=None):
|
|||
'config_location': opts.config_location,
|
||||
'geo_bypass': opts.geo_bypass,
|
||||
'geo_bypass_country': opts.geo_bypass_country,
|
||||
# just for deprecation check
|
||||
'autonumber': opts.autonumber if opts.autonumber is True else None,
|
||||
'usetitle': opts.usetitle if opts.usetitle is True else None,
|
||||
}
|
||||
|
||||
with YoutubeDL(ydl_opts) as ydl:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue