From 558546e726ad56ae0e38a838c3b5f5683be1d909 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bayle Date: Fri, 22 Feb 2019 09:09:58 +0100 Subject: [PATCH] Break words if longer than allowed length --- include/cxxopts.hpp | 1 + 1 file changed, 1 insertion(+) 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; }