Show version on run

This commit is contained in:
Deukhoofd committed 2021-09-07 19:13:10 +02:00
1 parent f091ff3254
commit 7e1597531d
2 files changed
+6 -1

No files matched your search

+2
View File
@@ -9,8 +9,10 @@
#include "Tester/AngelScript/MiscMockFunctions.hpp"
#include "Tester/AngelScript/TestFunctions.hpp"
#include "Tester/TestRunner.hpp"
#include <gitversion/version.h>
int main(int argc, char** argv) {
std::cout << "PokemonScript Tester version: " << version::VERSION_STRING << std::endl;
args::ArgumentParser parser("PkmnLib Script Tester.", "");
args::HelpFlag help(parser, "help", "Display this help menu", {'h', "help"});