Fixed: Wrong return value for CCmdArgs::haveAdditionalArg
--HG-- branch : develop
This commit is contained in:
parent
733f319c4f
commit
6e93a0d395
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue