From owner-cvs-all Wed Jul 19 12:58:49 2000 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 52CF337C013; Wed, 19 Jul 2000 12:58:42 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id NAA93831; Wed, 19 Jul 2000 13:58:37 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id NAA84134; Wed, 19 Jul 2000 13:58:36 -0600 (MDT) Message-Id: <200007191958.NAA84134@harmony.village.org> To: Bill Fumerola Subject: Re: cvs commit: src/sbin/ifconfig ifconfig.c Cc: Sheldon Hearn , obrien@FreeBSD.org, Archie Cobbs , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Wed, 19 Jul 2000 14:55:42 EDT." <20000719145541.W51462@jade.chc-chimes.com> References: <20000719145541.W51462@jade.chc-chimes.com> <20000719062830.A15133@dragon.nuxi.com> <2153.964014378@axl.ops.uunet.co.za> Date: Wed, 19 Jul 2000 13:58:36 -0600 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20000719145541.W51462@jade.chc-chimes.com> Bill Fumerola writes: : progname -? is _not_ the UNIX way. I did this to a program once and was : given many reasons why it was bad. they may be archived. But getopt returns '?' for unknown args, which causes most of our programs to print the usage. You don't need or and shouldn't code that, which is the conversation I think that's archived. It just falls out of the way getopt works. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message