Add --nocertcheck, -n args to skip websocket server certificate verification for all builds.

This commit is contained in:
Mudit Vats
2021-01-28 14:57:56 -07:00
parent 01316bcfa2
commit b54025168c
4 changed files with 25 additions and 6 deletions

View File

@@ -126,4 +126,9 @@ bool args_get_info(int argc, char* argv[], std::string& info)
bool args_get_verbose(int argc, char* argv[])
{
return get_arg_exists(argc, argv, "--verbose", "-v");
}
}
bool args_get_nocertcheck(int argc, char* argv[])
{
return get_arg_exists(argc, argv, "--nocertcheck", "-n");
}