Files
MicrOBU/microbu-esp32c5/external/vanetza-idf/tools/benchmark/main.cpp
T

19 lines
386 B
C++
Raw Normal View History

#include "options.hpp"
#include <iostream>
int main(int argc, const char** argv)
{
try {
std::unique_ptr<Case> executable = parse_options(argc, argv);
if (!executable) {
return 1;
}
return executable->execute();
} catch (const std::exception& e) {
std::cerr << "Error: " << e.what() << std::endl;
return 1;
}
}