Fixed: Missing 'else if' on arg parsing #4168

This commit is contained in:
Nick Bolton 2015-02-25 17:44:17 +00:00
parent a1bfddeb5b
commit eb1083ec45
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}