Fixed: Missing 'else if' on arg parsing #4168
This commit is contained in:
parent
a1bfddeb5b
commit
eb1083ec45
|
@ -169,15 +169,15 @@ ArgParser::parseToolArgs(ToolArgs& args, int argc, const char* const* argv)
|
||||||
args.m_loginAuthenticate = true;
|
args.m_loginAuthenticate = true;
|
||||||
return 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;
|
args.m_getPluginList = true;
|
||||||
return 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;
|
args.m_getPluginDir = true;
|
||||||
return 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;
|
args.m_getProfileDir = true;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue