From 252bdef50233b873f2e59b465d137bbcf31ca605 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Thu, 26 May 2022 19:50:58 +0200 Subject: [PATCH] added note for unknown version --- src/lib/misc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/misc.c b/src/lib/misc.c index 3bd8153..c951fa2 100644 --- a/src/lib/misc.c +++ b/src/lib/misc.c @@ -112,6 +112,8 @@ void checkVersion(inputFlags flags) //versions.json DOESN'T CONTAIN VERSION (THIS WILL NOT HAPPEN IF YOU WILL NOT EDIT IT) if (versionsIndex == -1) { + if (!flags.noOutput) printf("Version %s not found! Check your flags.\n\n", VERSION); + free(deprecated); goto newerVersion; }