Initialized base repo

This commit is contained in:
AnonymousRandomPerson
2023-06-28 23:35:19 -04:00
commit 608e361e57
575 changed files with 403116 additions and 0 deletions

21
tools/csv2bin/main.cpp Normal file
View File

@@ -0,0 +1,21 @@
#include "Options.h"
int main(int argc, char ** argv) {
#ifdef NDEBUG
try {
#endif
return Options(argc, argv).main();
#ifdef NDEBUG
} catch (std::bad_alloc const &e ) {
std::cerr << "csv2bin fatal error: bad alloc: " << e.what() << std::endl;
return 1;
} catch (argument_error const &e ) {
Options::short_usage(std::cerr);
std::cerr << "csv2bin argument error: " << e.what() << std::endl;
return 1;
} catch (std::exception const &e) {
std::cerr << "csv2bin error: " << e.what() << std::endl;
return 1;
}
#endif
}