diff --git a/NPLib/Core/NPOptionManager.cxx b/NPLib/Core/NPOptionManager.cxx index 1ab20e1e600d34e50f9c9da9b357db62fcbda88a..5ba61efb98563ccbaac05dea10ebc5cbf5d9818d 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(){