Commit 967b7994 authored by Pawel Sznajder's avatar Pawel Sznajder
Browse files

improve printing of version

parent 0280f05f
...@@ -154,15 +154,18 @@ void Partons::printVersion() const { ...@@ -154,15 +154,18 @@ void Partons::printVersion() const {
<< PARTONS_VERSION_MINOR << "." << PARTONS_VERSION_PATCH << PARTONS_VERSION_MINOR << "." << PARTONS_VERSION_PATCH
<< " (http://partons.cea.fr) distributed under GNU Public License"); << " (http://partons.cea.fr) distributed under GNU Public License");
m_pLoggerManager->info("Partons", __func__, m_pLoggerManager->info("Partons", __func__,
ElemUtils::Formatter() << "Git branch and revision is " ElemUtils::Formatter() << "Git branch and revision of this version is "
<< PARTONS_GIT_BRANCH << "/" << PARTONS_GIT_REVISION); << PARTONS_GIT_BRANCH << "/" << PARTONS_GIT_REVISION);
m_pLoggerManager->info("Partons", __func__, m_pLoggerManager->info("Partons", __func__,
ElemUtils::Formatter() << "Built using Elementary-Utils " ElemUtils::Formatter() << "Built using Elementary-Utils "
<< ELEMENTARY_UTILS_VERSION_MAJOR << "." << ELEMENTARY_UTILS_VERSION_MAJOR << "."
<< ELEMENTARY_UTILS_VERSION_MINOR << "." << ELEMENTARY_UTILS_VERSION_MINOR << "."
<< ELEMENTARY_UTILS_VERSION_PATCH << " and NumA++ " << ELEMENTARY_UTILS_VERSION_PATCH << " ("
<< ELEMENTARY_UTILS_GIT_BRANCH << "/"
<< ELEMENTARY_UTILS_GIT_REVISION << ")" << " and NumA++ "
<< NUMA_VERSION_MAJOR << "." << NUMA_VERSION_MINOR << "." << NUMA_VERSION_MAJOR << "." << NUMA_VERSION_MINOR << "."
<< NUMA_VERSION_PATCH); << NUMA_VERSION_PATCH << " (" << NUMA_GIT_BRANCH << "/"
<< NUMA_GIT_REVISION << ")");
} }
std::string Partons::getCurrentWorkingDirectory() { std::string Partons::getCurrentWorkingDirectory() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment