added note for unknown version

This commit is contained in:
Václav Šmejkal 2022-05-26 19:50:58 +02:00
parent fcb0d7cbfb
commit 252bdef502

View File

@ -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;
} }