parsed arguments

This commit is contained in:
bettercallous
2024-04-08 07:20:11 +00:00
parent 8aece78bb2
commit 2fdb0eb6c4
5 changed files with 79 additions and 1 deletions

14
main.cpp Normal file
View File

@@ -0,0 +1,14 @@
#include "Server.hpp"
int main(int ac, char **av)
{
Server server;
try {
server.parseArgs(ac, av);
} catch (std::exception& e) {
std::cerr << e.what() << std::endl;
return 1;
}
return 0;
}