]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/options.py
Add `--compat-options 2021,2022`
[yt-dlp.git] / yt_dlp / options.py
index be4695cbb58b24546192db532466d76e31d02d45..e9766c02d77da87d5f6a51c889f593c0c66f90bb 100644 (file)
@@ -470,6 +470,8 @@ def _alias_callback(option, opt_str, value, parser, opts, nargs):
             }, '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 '