From owner-cvs-all Thu Jul 20 17: 2:57 2000 Delivered-To: cvs-all@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 1E54D37C1EA; Thu, 20 Jul 2000 17:02:50 -0700 (PDT) (envelope-from grog@wantadilla.lemis.com) Received: (from grog@localhost) by wantadilla.lemis.com (8.9.3/8.9.3) id JAA01661; Fri, 21 Jul 2000 09:32:21 +0930 (CST) (envelope-from grog) Date: Fri, 21 Jul 2000 09:32:21 +0930 From: Greg Lehey To: Brian Somers Cc: Sheldon Hearn , obrien@FreeBSD.org, Archie Cobbs , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/ifconfig ifconfig.c Message-ID: <20000721093221.L936@wantadilla.lemis.com> References: <200007200728.IAA09150@hak.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <200007200728.IAA09150@hak.lan.Awfulhak.org> Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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