diff options
author | Memphiz <memphis@machzwo.de> | 2016-07-09 21:52:55 +0200 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2016-08-13 10:42:37 +0200 |
commit | d771931c02e5c8253643393e0ef1264f03ad39e8 (patch) | |
tree | 7a420d37c3a96e4295bf86a0f560741be8841deb /tools/EventClients/Clients | |
parent | c73759dc5584d4622cf2324ce0689359d1bbaf17 (diff) |
[XBMCHelper] - log config
Diffstat (limited to 'tools/EventClients/Clients')
-rw-r--r-- | tools/EventClients/Clients/OSXRemote/xbmchelper_main.mm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/EventClients/Clients/OSXRemote/xbmchelper_main.mm b/tools/EventClients/Clients/OSXRemote/xbmchelper_main.mm index 8a105b5137..5afb5ec6ab 100644 --- a/tools/EventClients/Clients/OSXRemote/xbmchelper_main.mm +++ b/tools/EventClients/Clients/OSXRemote/xbmchelper_main.mm @@ -109,6 +109,7 @@ void ReadConfig() //---------------------------------------------------------------------------- void ParseOptions(int argc, char** argv) { + NSString *tmpStr = nil; int c, option_index = 0; //set the defaults bool readExternal = false; @@ -129,30 +130,42 @@ void ParseOptions(int argc, char** argv) break; case 'v': g_verbose_mode = true; + NSLog(@"ParseOptions - VerboseMode on"); break; case 's': g_server_address = optarg; + tmpStr = [NSString stringWithCString:g_server_address.c_str() encoding:NSASCIIStringEncoding]; + NSLog(@"ParseOptions - server address %@", tmpStr); break; case 'p': g_server_port = atoi(optarg); + NSLog(@"ParseOptions - server port %i", g_server_port); break; case 'u': g_mode = UNIVERSAL_MODE; + NSLog(@"ParseOptions - UniversalMode on"); break; case 'm': g_mode = MULTIREMOTE_MODE; + NSLog(@"ParseOptions - MultiRemoteMode on"); break; case 't': g_universal_timeout = atof(optarg) * 0.001; + NSLog(@"ParseOptions - Universal Timeout %lf", g_universal_timeout); break; case 'x': readExternal = true; + NSLog(@"ParseOptions - ReadExternal on"); break; case 'a': g_app_path = optarg; + tmpStr = [NSString stringWithCString:g_app_path.c_str() encoding:NSASCIIStringEncoding]; + NSLog(@"ParseOptions - AppPath %@", tmpStr); break; case 'z': g_app_home = optarg; + tmpStr = [NSString stringWithCString:g_app_home.c_str() encoding:NSASCIIStringEncoding]; + NSLog(@"ParseOptions - AppHome %@", tmpStr); break; default: usage(); |