|
|
@@ -20,13 +20,13 @@ int main(int argc, char** argv)
|
|
|
openlog("PresenceDetection", LOG_NDELAY | LOG_PID, LOG_USER);
|
|
|
|
|
|
bool daemon = false;
|
|
|
- PresenceDetection::Util::group cli {
|
|
|
- PresenceDetection::Util::option("-d", "--daemon").set(daemon).doc("Run the process as Daemon")
|
|
|
+ PresenceDetection::Util::clipp::group cli {
|
|
|
+ PresenceDetection::Util::clipp::option("-d", "--daemon").set(daemon).doc("Run the process as Daemon")
|
|
|
};
|
|
|
|
|
|
- if (!PresenceDetection::Util::parse(argc, argv, cli))
|
|
|
+ if (!PresenceDetection::Util::clipp::parse(argc, argv, cli))
|
|
|
{
|
|
|
- std::cout << PresenceDetection::Util::make_man_page(cli, argv[0]) << std::endl;
|
|
|
+ std::cout << PresenceDetection::Util::clipp::make_man_page(cli, argv[0]) << std::endl;
|
|
|
return 1;
|
|
|
}
|
|
|
|