[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#295328: general: Help messages to stderr should be banned

On Tue, Feb 15, 2005 at 03:06:19PM +0100, Francesco P. Lovergine wrote:
> On Tue, Feb 15, 2005 at 07:38:08AM -0600, John Hasler wrote:
> > Francesco P. Lovergine writes:
> > > It depends on programs, sometimes the same usage function is used for
> > > either --help or invalid options.
> > 
> > Sure, but the output should still be directed correctly.
> Quite difficult if the function is the same. In both cases it uses stderr.

So you change the program to take a file descriptor into the help-printing
function, or provide some other means of determining where to send the

- Matt

Attachment: signature.asc
Description: Digital signature

Reply to: