mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Show git SHA for command line parameter --version
This commit is contained in:
@@ -48,7 +48,7 @@ RiaApplication* createApplication( int& argc, char* argv[] )
|
||||
{
|
||||
for ( int i = 1; i < argc; ++i )
|
||||
{
|
||||
if ( !qstrcmp( argv[i], "--console" ) || !qstrcmp( argv[i], "--unittest" ) || !qstrcmp( argv[i], "--version" ) )
|
||||
if ( !qstrcmp( argv[i], "--console" ) || !qstrcmp( argv[i], "--unittest" ) )
|
||||
{
|
||||
#ifdef ENABLE_GRPC
|
||||
return new RiaGrpcConsoleApplication( argc, argv );
|
||||
|
||||
Reference in New Issue
Block a user