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:
@@ -131,6 +131,7 @@ RiaApplication::ApplicationStatus RiaConsoleApplication::handleArguments( gsl::n
|
||||
if ( progOpt->option( "version" ) )
|
||||
{
|
||||
QString text = QString( STRPRODUCTVER ) + "\n";
|
||||
text += "SHA " + QString( RESINSIGHT_GIT_HASH ) + "\n";
|
||||
|
||||
showFormattedTextInMessageBoxOrConsole( text );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user