[Python-bugs-list] [ python-Bugs-596434 ] textwrap has problems wrapping hyphens
noreply@sourceforge.net
noreply@sourceforge.net
Sat, 17 Aug 2002 07:46:32 -0700
Bugs item #596434, was opened at 2002-08-17 10:46
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=596434&group_id=5470
Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: David Goodger (goodger)
Assigned to: Nobody/Anonymous (nobody)
Summary: textwrap has problems wrapping hyphens
Initial Comment:
(Greg already knows about this from private mail;
this makes it "official".)
Long multi-word command-line options (begin
with "--" and contain internal "-") inside text may be
wrapped badly by textwrap. For example, "--an-
option" may become "--\nan-option" or "--an-\
noption". Perhaps words that begin with hyphens
should not be wrapped at all?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=596434&group_id=5470