mirror of
https://github.com/rofafor/vdr-plugin-iptv.git
synced 2023-10-10 11:37:03 +00:00
Fix -t argument
This commit is contained in:
parent
31f9a001b1
commit
8a24ff583f
4
iptv.c
4
iptv.c
@ -85,13 +85,13 @@ bool cPluginIptv::ProcessArgs(int argc, char *argv[])
|
||||
};
|
||||
|
||||
int c;
|
||||
while ((c = getopt_long(argc, argv, "d:", long_options, NULL)) != -1) {
|
||||
while ((c = getopt_long(argc, argv, "d:t:", long_options, NULL)) != -1) {
|
||||
switch (c) {
|
||||
case 'd':
|
||||
deviceCountM = atoi(optarg);
|
||||
break;
|
||||
case 't':
|
||||
IptvConfig.SetTraceMode(strtol(optarg, NULL, 0));
|
||||
IptvConfig.SetTraceMode(atoi(optarg));
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user