Re: [patch] print some more usage information [was: Re: parser option handling]

Bernhard Fischer <[email protected]> Sun, 6 May 2007 22:33:55 +0200
Newsgroups gmane.comp.documentation.synopsis
Message-ID <[email protected]>
On Sat, May 05, 2007 at 10:23:46PM -0400, Stefan Seefeld wrote:
>Bernhard Fischer wrote:
>> On Sat, May 05, 2007 at 09:16:22PM +0200, Bernhard Fischer wrote:
>>> The attached patch (ontop of bug139) does:
>>>
>>> - adjust the help text to fit into 80 columns
>>> - print help text if no input-files were given ยน)
>>> - add -U to the help output
>>>
>>> The reasoning is that it would be nice if all of
>>> $ synopsis
>>> $ synopsis -v
>> 
>> And to make sure that we print the current context's correct help-text,
>> stopping on the first -h is in order, too.
>> 
>> Please find this in the incremental patch attached.
>
>Applied, thanks !

Thank you, but i think you forgot the incremental 1 line hunk..

Without it, we'd print the wrong help-text for 
$ synopsis -h -p C -h
which i think should print the topmost usage() and not the parser's.