mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-15 08:58:28 +00:00
Use better update message
Co-Authored-By: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
parent
5e77c1e77b
commit
2b0623f632
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user