added note for unknown version
This commit is contained in:
parent
fcb0d7cbfb
commit
252bdef502
@ -112,6 +112,8 @@ void checkVersion(inputFlags flags)
|
|||||||
//versions.json DOESN'T CONTAIN VERSION (THIS WILL NOT HAPPEN IF YOU WILL NOT EDIT IT)
|
//versions.json DOESN'T CONTAIN VERSION (THIS WILL NOT HAPPEN IF YOU WILL NOT EDIT IT)
|
||||||
if (versionsIndex == -1)
|
if (versionsIndex == -1)
|
||||||
{
|
{
|
||||||
|
if (!flags.noOutput) printf("Version %s not found! Check your flags.\n\n", VERSION);
|
||||||
|
|
||||||
free(deprecated);
|
free(deprecated);
|
||||||
goto newerVersion;
|
goto newerVersion;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user