BlinkenArea - GitList
Repositories
Blog
Wiki
permissioner
Code
Commits
Branches
Tags
Search
Tree:
5e011c9
Branches
Tags
master
permissioner
permissionerd
src
permissionerd.cpp
move most sources into libpermissioner
Stefan Schuermans
commited
5e011c9
at 2020-08-18 20:27:07
permissionerd.cpp
Blame
History
Raw
#include <permissioner/Config.h> #include <cstdlib> #include <iostream> #include <stdexcept> #include <string> int main(int argc, char const **argv) { if (argc != 2) { std::cerr << "usage: " << argv[0] << " <config file>" << std::endl; return EXIT_FAILURE; } std::string configFileName(argv[1]); try { Config config; config.parseFile(configFileName); } catch (std::exception const &e) { std::cerr << "error: " << e.what() << std::endl; return EXIT_FAILURE; } return EXIT_SUCCESS; }