mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-19 14:29:34 +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);
|
||||
}
|
||||
}
|
||||
else if(strcmp(long_options[option_index].name,"config-file")==0)
|
||||
{
|
||||
mylog(log_info,"configuration loaded from %s\n",optarg);
|
||||
}
|
||||
else
|
||||
{
|
||||
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