textwrap: do not break lines on hyphens
commit91c6eea53e86c0304a1e65b4c4fbb88e09f44bfc
authorDavid Aguilar <davvid@gmail.com>
Sat, 16 Jul 2016 13:45:15 +0000 (16 06:45 -0700)
committerDavid Aguilar <davvid@gmail.com>
Sat, 16 Jul 2016 13:45:15 +0000 (16 06:45 -0700)
tree651e6a80a957d28c0a9cee3c74f9cab9d4e4fecd
parent8354fa2f09d77d6f29b7eab652e934b0c6e5a01c
textwrap: do not break lines on hyphens

Allow for long URLs, command-lines, and other common strings-with-dashes
by defaulting break_on_hyphen to False.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/textwrap.py
test/textwrap_test.py