diff --git a/Applications/CLI/ogs.cpp b/Applications/CLI/ogs.cpp index fc20f783bb7611ade177c7f1ef16a143fafb5c81..4b723f611708a51a8c1609b6bf538c74063709bb 100644 --- a/Applications/CLI/ogs.cpp +++ b/Applications/CLI/ogs.cpp @@ -19,6 +19,7 @@ #include "ThirdParty/tclap/CmdLine.h" // BaseLib +#include "BaseLib/BuildInfo.h" #include "BaseLib/LogogSimpleFormatter.h" // OGS @@ -34,8 +35,16 @@ int main(int argc, char *argv[]) logog_cout->SetFormatter(*fmt); // Parse CLI arguments. - TCLAP::CmdLine cmd( - "OpenGeoSys simulation application", ' ', "0.1"); + TCLAP::CmdLine cmd("OpenGeoSys-6 software (" + + BaseLib::BuildInfo::git_version_sha1_short + ")\n" + + "Copyright (c) 2014, OpenGeoSys Community " + + "(http://www.opengeosys.org) " + + "Distributed under a Modified BSD License. " + + "See accompanying file LICENSE.txt or " + + "http://www.opengeosys.org/project/license", + ' ', + BaseLib::BuildInfo::git_version_sha1); + TCLAP::ValueArg<std::string> project_arg( "p", // option tag "project", // long option tag