#7786 Get version from command line

This commit is contained in:
Magne Sjaastad committed 2021-06-16 13:14:07 +02:00
1 parent da166bd7b9
commit d7113a528c
3 files changed
+12 -1

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ RiaApplication* createApplication( int& argc, char* argv[] )
{
for ( int i = 1; i < argc; ++i )
{
if ( !qstrcmp( argv[i], "--console" ) || !qstrcmp( argv[i], "--unittest" ) )
if ( !qstrcmp( argv[i], "--console" ) || !qstrcmp( argv[i], "--unittest" ) || !qstrcmp( argv[i], "--version" ) )
{
#ifdef ENABLE_GRPC
return new RiaGrpcConsoleApplication( argc, argv );