diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index 63d6336..b24880e 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -1456,6 +1456,7 @@ namespace cxxopts stringAppend(result, "\n"); stringAppend(result, start, ' '); startLine = lastSpace + 1; + lastSpace = startLine; } size = 0; }