From b799d8fed0918e977bcae5d9e7ac0b0f36ecdf8e Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 28 Jan 2016 13:25:21 +0100 Subject: [PATCH] Fixed: Wrong return value for CCmdArgs::haveAdditionalArg --- code/nel/src/misc/cmd_args.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/src/misc/cmd_args.cpp b/code/nel/src/misc/cmd_args.cpp index 13d08428b..11464b222 100644 --- a/code/nel/src/misc/cmd_args.cpp +++ b/code/nel/src/misc/cmd_args.cpp @@ -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 if (arg.shortName.empty() && arg.longName.empty() && !arg.helpName.empty() && arg.helpName == name && arg.found) - return false; + return true; } return false;