diff --git a/src/lib/synergy/ArgParser.cpp b/src/lib/synergy/ArgParser.cpp index fc4f022d..c5830d54 100644 --- a/src/lib/synergy/ArgParser.cpp +++ b/src/lib/synergy/ArgParser.cpp @@ -169,15 +169,15 @@ ArgParser::parseToolArgs(ToolArgs& args, int argc, const char* const* argv) args.m_loginAuthenticate = true; return true; } - if (isArg(i, argc, argv, NULL, "--get-plugin-list", 0)) { + else if (isArg(i, argc, argv, NULL, "--get-plugin-list", 0)) { args.m_getPluginList = true; return true; } - if (isArg(i, argc, argv, NULL, "--get-plugin-dir", 0)) { + else if (isArg(i, argc, argv, NULL, "--get-plugin-dir", 0)) { args.m_getPluginDir = true; return true; } - if (isArg(i, argc, argv, NULL, "--get-profile-dir", 0)) { + else if (isArg(i, argc, argv, NULL, "--get-profile-dir", 0)) { args.m_getProfileDir = true; return true; }