1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-08-15 08:58:28 +00:00

Also mention --update

New users (who are most likely to see this warning) regularly confuse `-U` and `-u`
This commit is contained in:
sepro 2025-08-06 17:05:08 +02:00
parent 5928ebae56
commit 750699f842

View File

@ -183,7 +183,7 @@ def _get_version_age_warning():
return ('\n '.join(( return ('\n '.join((
f'Your yt-dlp version ({__version__}) is older than 90 days!', f'Your yt-dlp version ({__version__}) is older than 90 days!',
'It is strongly recommended to always use the latest version.', 'It is strongly recommended to always use the latest version.',
f'{UPDATE_HINT or """Run "yt-dlp -U" to update"""}.', f'{UPDATE_HINT or """Run "yt-dlp --update" or "yt-dlp -U" to update"""}.',
'To suppress this warning, add --no-update to your command/config.'))) 'To suppress this warning, add --no-update to your command/config.')))
return None return None