Skip to content
Snippets Groups Projects
Commit e26b78ef authored by deserevi's avatar deserevi
Browse files

* When calling "Simulation --help" or "Analysis --help", programs now exit.

   + exit(1) statement has been added in the DisplayHelp() method from the
     NPOptionManager class
parent 35f4614e
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment