Break words if longer than allowed length

This commit is contained in:
Jean-Baptiste Bayle 2019-02-22 09:09:58 +01:00
parent bd20573829
commit 558546e726

View File

@ -1456,6 +1456,7 @@ namespace cxxopts
stringAppend(result, "\n");
stringAppend(result, start, ' ');
startLine = lastSpace + 1;
lastSpace = startLine;
}
size = 0;
}