Change clipp include

This commit is contained in:
2020-03-05 13:00:55 +01:00
parent b4f9aa4cb2
commit 2fbec833a2
3 changed files with 8 additions and 7 deletions
+4 -4
View File
@@ -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;
}