Fixed: Wrong return value for CCmdArgs::haveAdditionalArg

This commit is contained in:
kervala 2016-01-28 13:25:21 +01:00
parent 00f8861596
commit b799d8fed0

View file

@ -172,7 +172,7 @@ bool CCmdArgs::haveAdditionalArg(const std::string &name) const
// they don't have any short or long name, but need a name in help // they don't have any short or long name, but need a name in help
if (arg.shortName.empty() && arg.longName.empty() && !arg.helpName.empty() && arg.helpName == name && arg.found) if (arg.shortName.empty() && arg.longName.empty() && !arg.helpName.empty() && arg.helpName == name && arg.found)
return false; return true;
} }
return false; return false;