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

2005-02-16 Thread Francesco P. Lovergine
On Tue, Feb 15, 2005 at 09:13:32AM -0800, Thomas Bushnell BSG wrote: > "Francesco P. Lovergine" <[EMAIL PROTECTED]> writes: > > > Quite difficult if the function is the same. In both cases it uses stderr. > > Oh good grief. Add an argument to the function saying where to direct > the output. Ho

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

2005-02-15 Thread Miles Bader
[EMAIL PROTECTED] (Marco d'Itri) writes: >> I suppose I will start filing minor bugs against packages that do >> this. I'd like to hear other people's opinions, though. (It occurs >> to me that help output to stderr is arguably appropriate if an invalid >> option is given). Part of the problem i

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

2005-02-15 Thread Stephen Gran
This one time, at band camp, Matthew Palmer said: > 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

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

2005-02-15 Thread Goswin von Brederlow
"H. S. Teoh" <[EMAIL PROTECTED]> writes: > Actually, in csh/tcsh it's very un-obnoxious: foo --help |& less zsh too. MfG Goswin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

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

2005-02-15 Thread Ricardo Mones
On Tue, 15 Feb 2005 09:19:35 -0800 "H. S. Teoh" <[EMAIL PROTECTED]> wrote: > On Mon, Feb 14, 2005 at 11:06:30PM -0500, Justin Pryzby wrote: > [...] > > I occasionally install a program and need to know how to use it as > > quickly as possible; for example, while reading through bug reports. > > So

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

2005-02-15 Thread Adam Heath
On Tue, 15 Feb 2005, Frank Küster wrote: > "Francesco P. Lovergine" <[EMAIL PROTECTED]> schrieb: > > > 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

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

2005-02-15 Thread H. S. Teoh
On Mon, Feb 14, 2005 at 11:06:30PM -0500, Justin Pryzby wrote: [...] > I occasionally install a program and need to know how to use it as > quickly as possible; for example, while reading through bug reports. > So, I run foo --help. Sometimes, the help screen is more than 25 > lines long, and it s

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

2005-02-15 Thread Thomas Bushnell BSG
"Francesco P. Lovergine" <[EMAIL PROTECTED]> writes: > Quite difficult if the function is the same. In both cases it uses stderr. Oh good grief. Add an argument to the function saying where to direct the output. How hard is this? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject o

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

2005-02-15 Thread Thomas Bushnell BSG
Francesco Paolo Lovergine <[EMAIL PROTECTED]> writes: > It depends on programs, sometimes the same usage function is used for > either --help or invalid options. Not always GNU rules are > followed appropriately. Right, and in that case, it's a bug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED

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

2005-02-15 Thread Frank Küster
"Francesco P. Lovergine" <[EMAIL PROTECTED]> schrieb: > 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 shoul

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

2005-02-15 Thread Wouter Verhelst
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

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

2005-02-15 Thread Matthew Palmer
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

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

2005-02-15 Thread Francesco P. Lovergine
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 functio

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

2005-02-15 Thread John Hasler
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. -- John Hasler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trou

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

2005-02-15 Thread Lars Wirzenius
ti, 2005-02-15 kello 10:19 +0100, Marco d'Itri kirjoitti: > On Feb 15, Justin Pryzby <[EMAIL PROTECTED]> wrote: > > > I suppose I will start filing minor bugs against packages that do > > this. I'd like to hear other people's opinions, though. (It occurs > > to me that help output to stderr is a

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

2005-02-15 Thread Ricardo Mones
On Tue, 15 Feb 2005 10:19:12 +0100 [EMAIL PROTECTED] (Marco d'Itri) wrote: > On Feb 15, Justin Pryzby <[EMAIL PROTECTED]> wrote: > > > I suppose I will start filing minor bugs against packages that do > > this. I'd like to hear other people's opinions, though. (It occurs > > to me that help out

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

2005-02-15 Thread Matthew Palmer
On Tue, Feb 15, 2005 at 10:19:12AM +0100, Marco d'Itri wrote: > On Feb 15, Justin Pryzby <[EMAIL PROTECTED]> wrote: > > > I suppose I will start filing minor bugs against packages that do > > this. I'd like to hear other people's opinions, though. (It occurs > > to me that help output to stderr

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

2005-02-15 Thread Marco d'Itri
On Feb 15, Justin Pryzby <[EMAIL PROTECTED]> wrote: > I suppose I will start filing minor bugs against packages that do > this. I'd like to hear other people's opinions, though. (It occurs > to me that help output to stderr is arguably appropriate if an invalid > option is given). Part of the p

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

2005-02-14 Thread Francesco Paolo Lovergine
On Mon, Feb 14, 2005 at 10:47:24PM -0600, John Hasler wrote: > Justin Pryzby writes: > > It occurs to me that help output to stderr is arguably appropriate if an > > invalid option is given > > But '--help' is not an invalid option. > It depends on programs, sometimes the same usage function is u

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

2005-02-14 Thread John Hasler
Justin Pryzby writes: > It occurs to me that help output to stderr is arguably appropriate if an > invalid option is given But '--help' is not an invalid option. I'll have to check my packages. -- John Hasler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Troub

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

2005-02-14 Thread Justin Pryzby
Package: general Severity: wishlist I occasionally install a program and need to know how to use it as quickly as possible; for example, while reading through bug reports. So, I run foo --help. Sometimes, the help screen is more than 25 lines long, and it scrolls on past. So, I run foo --help |l