do not use exit() in Appl to avoid memory leaks

This commit is contained in:
john30
2014-12-28 11:00:38 +01:00
parent db361dfd3e
commit e6a4b774dd
4 changed files with 26 additions and 20 deletions
+2 -1
View File
@@ -59,7 +59,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 << "ebus dump file is required." << endl;