diff --git a/NPLib/Tools/NPOptionManager.cxx b/NPLib/Tools/NPOptionManager.cxx index 4d1262ecae980baa01e76ee3b66f8f2d51197b0d..92a9846b1093b083f9a4e549e83e89e72a2b3e92 100644 --- a/NPLib/Tools/NPOptionManager.cxx +++ b/NPLib/Tools/NPOptionManager.cxx @@ -22,6 +22,8 @@ #include "NPOptionManager.h" +#include <cstdlib> + NPOptionManager* NPOptionManager::instance = 0 ; @@ -87,6 +89,9 @@ void NPOptionManager::DisplayHelp() cout << "\t --output -O <arg>\t \t \t \t \t \t Set arg as the Output File Name (output tree)" << endl ; cout << "\t --run -R <arg>\t \t \t \t \t \t \t Set arg as the run to read file list" << endl ; cout << endl << endl ; + + // exit current program + exit(1); }