mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-19 22:39:31 +08:00
main: don't warn config-file as 'unknown'
This commit is contained in:
parent
1f2f0d96fd
commit
057f81007d
4
main.cpp
4
main.cpp
@ -2946,6 +2946,10 @@ void process_arg(int argc, char *argv[], bool read_config)
|
|||||||
myexit(-1);
|
myexit(-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if(strcmp(long_options[option_index].name,"config-file")==0)
|
||||||
|
{
|
||||||
|
mylog(log_info,"configuration loaded from %s\n",optarg);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mylog(log_warn,"ignored unknown long option ,option_index:%d code:<%x>\n",option_index, optopt);
|
mylog(log_warn,"ignored unknown long option ,option_index:%d code:<%x>\n",option_index, optopt);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user