Main: Invoke parser and print out results
This commit is contained in:
@@ -26,12 +26,19 @@ try {
|
|||||||
}
|
}
|
||||||
|
|
||||||
options.dumpOptions();
|
options.dumpOptions();
|
||||||
DeviceManager::getInstance().handleDeviceSpecifiers(options);
|
DeviceManager::getInstance().collateAllDeviceSpecs(options);
|
||||||
|
DeviceManager::getInstance().parseAllDeviceSpecs();
|
||||||
|
std::cout << DeviceManager::printDeviceSpecs() << std::endl;
|
||||||
|
}
|
||||||
|
catch (const std::exception& e) {
|
||||||
|
std::cerr << "Exception occurred: " << e.what() << std::endl;
|
||||||
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
catch (...) {
|
catch (...) {
|
||||||
std::cerr << "Unknown exception occurred" << std::endl;
|
std::cerr << "Unknown exception occurred" << std::endl;
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::cout << "Exiting normally" << std::endl;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user