QCommandLineParser: add word-wrapping algorithm
authorDavid Faure <david.faure@kdab.com>
Mon, 2 Sep 2013 08:26:21 +0000 (10:26 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 16 Nov 2013 23:45:03 +0000 (00:45 +0100)
commit2026e502596cf6d447caf9545ffed8d3f73fe597
tree34a1b9181221c6da45d0f0edaeabe46ffccafbca
parentafe8e368721b6cac34d3b8de7689b53200f8c6fb
QCommandLineParser: add word-wrapping algorithm

Rather than breaking at column 79 precisely, break entire words,
to improve readability.

Change-Id: Ie30db00f0e6ed95cce87480c3b91804826c6076b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
src/corelib/tools/qcommandlineparser.cpp
tests/auto/corelib/tools/qcommandlineparser/testhelper/qcommandlineparser_test_helper.cpp
tests/auto/corelib/tools/qcommandlineparser/tst_qcommandlineparser.cpp