Changeset f1e584


Ignore:
Timestamp:
01/26/12 14:46:28 (4 months ago)
Author:
Micke Prag <micke.prag@…>
Branches:
('master', 'deebf2045e7119c339412580f37a1e653f7d5715')('controller-upgrade', '00f95d22e12d96ef089e0902ef62ae8ce841dc6f')
Children:
1ef4610f524951d17487f534a13072d7ca933899
Parents:
ee8f3b41d0207f6a981fa9406fbed01fda1a7411
git-author:
Micke Prag <micke.prag@telldus.se>2012-01-26 11:55:15+01:00
git-committer:
Micke Prag <micke.prag@telldus.se>2012-01-26 14:46:28+01:00
Message:

Add --debug option for unix as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • telldus-core/service/main_unix.cpp

    r83fb47 rf1e584  
    4848                        deamonize = false; 
    4949                        Log::setLogOutput(Log::StdOut); 
     50                } else if (strcmp(argv[i], "--debug") == 0) { 
     51                        Log::setDebug(); 
    5052                } else if (strcmp(argv[i], "--help") == 0) { 
    5153                        printf("Telldus TellStick background service\n\nStart with --nodaemon to not run as daemon\n\n"); 
Note: See TracChangeset for help on using the changeset viewer.