Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2000 09:32:21 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        Sheldon Hearn <sheldonh@uunet.co.za>, obrien@FreeBSD.org, Archie Cobbs <archie@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/ifconfig ifconfig.c
Message-ID:  <20000721093221.L936@wantadilla.lemis.com>
In-Reply-To: <200007200728.IAA09150@hak.lan.Awfulhak.org>
References:  <grog@lemis.com> <200007200728.IAA09150@hak.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 20 July 2000 at  8:28:16 +0100, Brian Somers wrote:
>> Others have contradicted this view.  But maybe we should think of a
>> consistent way to do it.  I've always done something like 'foo
>> -fdsafds' to force a usage message.  Maybe -? should be acceptable,
>> since it's what people will expect.
>
> Heh :-)
>
> hak:~ $ ls -fdsafds
> 4 .

:-)  I said "something like".  But it does prove my point that we
should find something consistent.  In fact, ls does "allow" -? (it
still prints

  ls: illegal option -- ?

but the code explicitly mentions it as the way to get the usage
message; obviously something that should be fixed.  The trouble is
that it doesn't always work without -\?.

Greg
--
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000721093221.L936>