From owner-cvs-all Fri Jul 21 6:21:35 2000 Delivered-To: cvs-all@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 87D4D37B9BD; Fri, 21 Jul 2000 06:21:26 -0700 (PDT) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id PAA59163; Fri, 21 Jul 2000 15:21:14 +0200 (CEST) (envelope-from des@flood.ping.uio.no) To: Greg Lehey Cc: Brian Somers , Sheldon Hearn , obrien@FreeBSD.org, Archie Cobbs , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/ifconfig ifconfig.c References: <200007200728.IAA09150@hak.lan.Awfulhak.org> <20000721093221.L936@wantadilla.lemis.com> From: Dag-Erling Smorgrav Date: 21 Jul 2000 15:21:12 +0200 In-Reply-To: Greg Lehey's message of "Fri, 21 Jul 2000 09:32:21 +0930" Message-ID: Lines: 12 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey writes: > 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 -\?. '?' is what getopt() returns if it hits an invalid (not illegal!) option, so -\? will *always* give you a usage message on properly written software that uses getopt(). DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message