Date: Thu, 20 Jul 2000 09:29:49 +0930 From: Greg Lehey <grog@lemis.com> To: Sheldon Hearn <sheldonh@uunet.co.za> Cc: 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: <20000720092949.D38899@wantadilla.lemis.com> In-Reply-To: <2153.964014378@axl.ops.uunet.co.za> References: <20000719062830.A15133@dragon.nuxi.com> <2153.964014378@axl.ops.uunet.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, 19 July 2000 at 15:46:18 +0200, Sheldon Hearn wrote: > > > On Wed, 19 Jul 2000 06:28:30 MST, "David O'Brien" wrote: > >>>> Make "ifconfig" with no arguments equivalent to "ifconfig -a". >> >> Please back this out. >> Getting a usage() message is just too useful. > > If that's your only reason, I don't think it's good enough. I don't either. I think that any program which can both change and list status should list it when invoked without arguments. sysctl(8) is another example. > I think "the UNIX way" to get usage() out of a program is ``progname > -?''. 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. 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?20000720092949.D38899>