do not use exit() in Appl to avoid memory leaks
This commit is contained in:
@@ -123,7 +123,8 @@ int main(int argc, char* argv[])
|
||||
define_args();
|
||||
|
||||
// parse arguments
|
||||
A.parseArgs(argc, argv);
|
||||
if (A.parseArgs(argc, argv) == false)
|
||||
return EXIT_SUCCESS;
|
||||
|
||||
if (A.missingCommand() == true) {
|
||||
cout << "interactive mode started." << endl;
|
||||
|
||||
Reference in New Issue
Block a user