From eb1083ec45c5796623f281ba2334c39b4c81be88 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Wed, 25 Feb 2015 17:44:17 +0000 Subject: [PATCH] Fixed: Missing 'else if' on arg parsing #4168 --- src/lib/synergy/ArgParser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }