From fce89f19feccbc4324dd18aad633538e4044f32b Mon Sep 17 00:00:00 2001 From: adrien-matta <a.matta@surrey.ac.uk> Date: Thu, 23 Jul 2015 14:18:22 +0100 Subject: [PATCH] * Prevent splash of nplib version in root cint --- NPLib/Core/NPOptionManager.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NPLib/Core/NPOptionManager.cxx b/NPLib/Core/NPOptionManager.cxx index 1ab20e1e6..5ba61efb9 100644 --- a/NPLib/Core/NPOptionManager.cxx +++ b/NPLib/Core/NPOptionManager.cxx @@ -143,7 +143,8 @@ void NPOptionManager::ReadTheInputArgument(int argc, char** argv){ //else ; } CheckArguments(); - DisplayVersion(); + if(argc!=0) + DisplayVersion(); } //////////////////////////////////////////////////////////////////////////////// void NPOptionManager::DisplayVersion(){ -- GitLab