Add --debug option for unix as well
This commit is contained in:
parent
ee8f3b41d0
commit
f1e58433c1
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,8 @@ int main(int argc, char **argv) {
|
|||
if (strcmp(argv[i], "--nodaemon") == 0) {
|
||||
deamonize = false;
|
||||
Log::setLogOutput(Log::StdOut);
|
||||
} else if (strcmp(argv[i], "--debug") == 0) {
|
||||
Log::setDebug();
|
||||
} else if (strcmp(argv[i], "--help") == 0) {
|
||||
printf("Telldus TellStick background service\n\nStart with --nodaemon to not run as daemon\n\n");
|
||||
printf("Report bugs to <info.tech@telldus.com>\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue