patch applied (cabal): Make the GetOpt help text fit in 80 cols by wrapping the description

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Fri Aug 24 18:46:52 EDT 2007


On Fri, 2007-08-24 at 20:37 +0200, Thomas Schilling wrote:
> On 23 aug 2007, at 23.41, Duncan Coutts wrote:
> 
> > Thu Aug 23 12:30:15 PDT 2007  Duncan Coutts <duncan at haskell.org>
> >   * Make the GetOpt help text fit in 80 cols by wrapping the  
> > description
> >   And reduce the padding slightly.
> >   The configure help text look slightly less terrible now, though  
> > we've still
> >   got too many long flags and short flags with long arg names so  
> > there's not
> >   really enough width for the description so it wraps in too many  
> > cases.
> >
> >     M ./Distribution/GetOpt.hs -26 +35
> 
> I didn't look too closely at the code, but is there a reason why you  
> chose to implement a custom version instead of using the pretty printer?

I was trying to make minimal changes to the existing code which is self
contained and does not use a pretty printer.

Duncan



More information about the cabal-devel mailing list