Change clipp include
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
../../Libraries/clipp/include
|
||||
+4
-2
@@ -6,10 +6,12 @@
|
||||
|
||||
namespace PresenceDetection {
|
||||
namespace Util {
|
||||
namespace clipp {
|
||||
|
||||
using namespace clipp;
|
||||
using namespace ::clipp;
|
||||
|
||||
} // namespace clipp
|
||||
} // namespace Util
|
||||
} // namespace DomoticaServer
|
||||
} // namespace PresenceDetection
|
||||
|
||||
#endif // UTIL_CLIPP_H
|
||||
|
||||
Reference in New Issue
Block a user