Fixed: Return true if a required argument is found

This commit is contained in:
kervala 2016-01-23 12:28:22 +01:00
parent a097ff83b4
commit d387409397

View file

@ -157,7 +157,7 @@ bool CCmdArgs::haveAdditionalArg() const
// 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.found)
return false;
return true;
}
return false;