diff --git a/main.cpp b/main.cpp index d4c8d12..1a069be 100644 --- a/main.cpp +++ b/main.cpp @@ -26,12 +26,19 @@ try { } 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 (...) { std::cerr << "Unknown exception occurred" << std::endl; return EXIT_FAILURE; } + std::cout << "Exiting normally" << std::endl; return 0; }