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

Use better update message

Co-Authored-By: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
sepro 2025-08-06 17:29:16 +02:00
parent 5e77c1e77b
commit 2b0623f632

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 --update" or "yt-dlp -U" to update"""}.', f'{is_non_updateable() 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