Re: [Fwd: cat: invalid option -- h]

2005-09-17 Thread Andreas Schwab
"J. Grant" <[EMAIL PROTECTED]> writes: > My point is for consistency, it is unclear what the strategy is with -h > in GNU tools, perhaps only a partial idea to use -h for help in some tools. > > -h has ended up being used for other purposes than help in GNU tools. If Unix had any tradition for -

Re: [Fwd: cat: invalid option -- h]

2005-09-17 Thread Eric Blake
> > My point is for consistency, it is unclear what the strategy is with -h > in GNU tools, perhaps only a partial idea to use -h for help in some tools. > > -h has ended up being used for other purposes than help in GNU tools. > The fact remains that -h is often used for help in GNU tools, but

Re: [Fwd: cat: invalid option -- h]

2005-09-17 Thread Alfred M\. Szmidt
-h has ended up being used for other purposes than help in GNU tools. The fact remains that -h is often used for help in GNU tools, but not in all cases. It is not used as often as you might think, -? is more common. ___ Bug-coreutils mailing

Re: [Fwd: cat: invalid option -- h]

2005-09-17 Thread J. Grant
Hi, On 17/09/05 20:01, Alfred M. Szmidt wrote: We'll all have to remember to use --help long option if -h is not going to be consistent then. Your argument really doesn't make any sense. -h is used for other things than getting a usage message in GNU tools, making -h a alias for --help

Re: [Fwd: cat: invalid option -- h]

2005-09-17 Thread Alfred M\. Szmidt
We'll all have to remember to use --help long option if -h is not going to be consistent then. Your argument really doesn't make any sense. -h is used for other things than getting a usage message in GNU tools, making -h a alias for --help in some GNU tools would only lead to utter confus

Re: [Fwd: cat: invalid option -- h]

2005-09-17 Thread Eric Blake
> > > > Just because two extreme cases support -h as a alias for --help, > > doesn't mean that it is a GNU convention. You still haven't given a > > good reason why -h should be a alias for --help. > > It is a common getopt option to trigger command line help, the most > common I suggest. --he

Re: [Fwd: cat: invalid option -- h]

2005-09-17 Thread J. Grant
Hi, On 17/09/05 18:31, Alfred M. Szmidt wrote: [EMAIL PROTECTED] removed from CC] So why should cat be any different? Just because two extreme cases support -h as a alias for --help, doesn't mean that it is a GNU convention. You still haven't given a good reason why -h should be a alias fo

Re: [Fwd: cat: invalid option -- h]

2005-09-17 Thread Alfred M\. Szmidt
[EMAIL PROTECTED] removed from CC] So why should cat be any different? Just because two extreme cases support -h as a alias for --help, doesn't mean that it is a GNU convention. You still haven't given a good reason why -h should be a alias for --help. -h is quite uncommon as a alias for --h

Re: [Fwd: cat: invalid option -- h]

2005-09-17 Thread J. Grant
Hi Alfred, Thanks for your reply. Can cat -h be added as an alias of --help please? Why? Seems utterly useless for --help, rather save it for something that is potentionally useful. The GNU convention is to support the short getopt, and getoptlong style in many utils for example, objc

Re: [Fwd: cat: invalid option -- h]

2005-09-17 Thread Alfred M\. Szmidt
I've not received a reply, could you confirm if you received my email please? Sure. Can cat -h be added as an alias of --help please? Why? Seems utterly useless for --help, rather save it for something that is potentionally useful. Cheers.

[Fwd: cat: invalid option -- h]

2005-09-17 Thread J. Grant
Hi, Just following up old emails. I've not received a reply, could you confirm if you received my email please? Kind regards JG Original Message Subject: cat: invalid option -- h Date: Tue, 14 Jan 2003 17:05:19 + From: J. Grant <[EMAIL PROTECTED]> To: bug-textutils@gnu.o