mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 14:40:26 -05:00
#7786 Get version from command line
This commit is contained in:
1 parent
da166bd7b9
commit
d7113a528c
3 files changed
+12
-1
No files matched your search
@@ -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 );
|
||||
|
||||
Reference in new issue
Block a user