Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 1999 08:48:24 +0200 (METDST)
From:      hm@hcs.de (Hellmuth Michaelis)
To:        imp@FreeBSD.org (Warner Losh)
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/i4b/isdnd main.c src/usr.sbin/i4b/isdndebug         main.c src/usr.sbin/i4b/isdndecode main.c src/usr.s
Message-ID:  <m10x3JA-0000fPC@hcswork.hcs.de>
In-Reply-To: <199906240643.XAA20366@freefall.freebsd.org> from Warner Losh at "Jun 23, 99 11:43:22 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
From the keyboard of Warner Losh:

>   	o getopt returns '?' for characters it doesn't know about, so
>   	  don't include them in the getopt options string.

Including '?' in the getopt options string is intentional, because - last
time i checked - using "programname -?" produces an output, where getopt
says that "-?" is an invalid option. This is IMHO false in that "-?" is
a valid option to display the usage string(s).

hellmuth
-- 
Hellmuth Michaelis                                    Tel   +49 40 559747-70
HCS Hanseatischer Computerservice GmbH                Fax   +49 40 559747-77
Oldesloer Strasse 97-99                               Mail  hm [at] hcs.de
22457 Hamburg                                         WWW   http://www.hcs.de


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?m10x3JA-0000fPC>