Use better update message

Co-Authored-By: bashonly <88596187+bashonly@users.noreply.github.com>
pull/13937/head
sepro 2 weeks ago
parent 5e77c1e77b
commit 2b0623f632

@ -183,7 +183,7 @@ def _get_version_age_warning():
return ('\n '.join((
f'Your yt-dlp version ({__version__}) is older than 90 days!',
'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.')))
return None

Loading…
Cancel
Save