main: Gh copilot insists on this formatting

This commit is contained in:
2025-01-05 14:01:16 -04:00
parent e51a6bb729
commit 77e6eca091
+4 -3
View File
@@ -2,6 +2,7 @@
#include <exception>
#include <opts.h>
#include <mind.h>
#include "deviceManager/deviceManager.h"
int main(int argc, char **argv)
{
@@ -9,13 +10,13 @@ try {
OptionParser options;
hk::Mind mind;
std::cout <<PACKAGE_NAME <<" " <<PACKAGE_VERSION <<std::endl;
std::cout << PACKAGE_NAME << " " << PACKAGE_VERSION << std::endl;
try {
options.parseArguments(argc, argv);
}
catch (const std::invalid_argument& e) {
std::cerr << e.what() <<'\n' << options.getUsage() <<'\n';
std::cerr << e.what() << '\n' << options.getUsage() << '\n';
return EXIT_FAILURE;
}
@@ -26,7 +27,7 @@ try {
options.dumpOptions();
}
catch (...) {
std::cerr << "Unknown exception occurred" <<std::endl;
std::cerr << "Unknown exception occurred" << std::endl;
return EXIT_FAILURE;
}