Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2000 13:58:36 -0600
From:      Warner Losh <imp@village.org>
To:        Bill Fumerola <billf@chimesnet.com>
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:  <200007191958.NAA84134@harmony.village.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> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




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