Add --compat-options 2021,2022

Use these to guard against future compat changes. This allows devs to
change defaults and make other potentially breaking changes more easily.
If you need everything to work exactly as-is, put this in your config
This commit is contained in:
pukkandan
2023-01-01 13:42:43 +05:30
parent 88fb942577
commit 2a06bb4eb6
2 changed files with 4 additions and 0 deletions

View File

@@ -470,6 +470,8 @@ def create_parser():
}, 'aliases': {
'youtube-dl': ['all', '-multistreams'],
'youtube-dlc': ['all', '-no-youtube-channel-redirect', '-no-live-chat'],
'2021': ['2022', 'no-certifi', 'filename-sanitization', 'no-youtube-prefer-utc-upload-date'],
'2022': [],
}
}, help=(
'Options that can help keep compatibility with youtube-dl or youtube-dlc '