main: Fix unix-socket option parsing
option_parser_get_value was looking for "unix" instead of "unix-socket" before, so it was impossible to switch to unix socket modegithub-issue-template
parent
f811beefb3
commit
78e7e448c6
|
@ -1335,7 +1335,7 @@ int main(int argc, char* argv[])
|
|||
socket_path = option_parser_get_value(&option_parser, "socket");
|
||||
overlay_cursor = !!option_parser_get_value(&option_parser, "render-cursor");
|
||||
show_performance = !!option_parser_get_value(&option_parser, "performance");
|
||||
use_unix_socket = !!option_parser_get_value(&option_parser, "unix");
|
||||
use_unix_socket = !!option_parser_get_value(&option_parser, "unix-socket");
|
||||
disable_input = !!option_parser_get_value(&option_parser, "disable-input");
|
||||
log_level = option_parser_get_value(&option_parser, "verbose")
|
||||
? NVNC_LOG_INFO : NVNC_LOG_WARNING;
|
||||
|
|
Loading…
Reference in New Issue