diff options
Diffstat (limited to 'argparser.cpp')
-rw-r--r-- | argparser.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/argparser.cpp b/argparser.cpp index 861261c..d676501 100644 --- a/argparser.cpp +++ b/argparser.cpp @@ -346,8 +346,7 @@ std::string ArgParser::generateHelpForCommand(const std::string& command) const help += "\n\n"; - std::map<int, Option*>::const_iterator it = - it = cmd->mandatoryOptions.begin(); + std::map<int, Option*>::const_iterator it = cmd->mandatoryOptions.begin(); if (it != cmd->mandatoryOptions.end()) { help += " Required: \n"; for (; it != cmd->mandatoryOptions.end(); ++it) { |