From c4bd30be577b8afd26d2b0dcd34635c562bcd8cb Mon Sep 17 00:00:00 2001 From: Felix Esch Date: Wed, 8 Jan 2020 07:14:46 +0100 Subject: [PATCH] Fix assertion failure (issue #217) (#218) --- include/cxxopts.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index 1381ab3..543101c 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -1475,6 +1475,7 @@ namespace cxxopts stringAppend(result, "\n"); stringAppend(result, start, ' '); startLine = lastSpace + 1; + lastSpace = startLine; } size = 0; }