Merge branch 'master' of github.com:symless/synergy-core

This commit is contained in:
Nick Bolton 2017-10-04 10:33:27 +01:00
commit 36f4003688
1 changed files with 2 additions and 0 deletions

View File

@ -299,9 +299,11 @@ ArgParser::parseGenericArgs(int argc, const char* const* argv, int& i)
else if (isArg(i, argc, argv, NULL, "--plugin-dir", 1)) {
argsBase().m_pluginDirectory = argv[++i];
}
#if WINAPI_XWINDOWS
else if (isArg(i, argc, argv, NULL, "--run-as-uid", 1)) {
argsBase().m_runAsUid = std::stoi(argv[++i]);
}
#endif
else {
// option not supported here
return false;