From owner-cvs-all Thu Jun 24 12: 6:15 1999 Delivered-To: cvs-all@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id 71F6115070; Thu, 24 Jun 1999 12:06:11 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id MAA00855; Thu, 24 Jun 1999 12:02:43 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199906241902.MAA00855@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: hm@hcs.de Cc: bde@zeta.org.au (Bruce Evans), imp@FreeBSD.org, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: getopt -? illegal ? (was: cvs commit: src/usr.sbin/i4b/isdnd main.c ..) In-reply-to: Your message of "Thu, 24 Jun 1999 10:12:40 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 24 Jun 1999 12:02:43 -0700 From: Mike Smith Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > > getopt actually says that "-?" is an illegal option. > > Since the very first days i learned Unix, i was - and i still am - under the > impression that running a program with -? produces a usage message. > > I still think that this is common sense, usage and knowledge. > > Am i wrong ??? Most shells treat ? as a special character, so yes, I think you are. > Given that i'm wrong, what is the common, known and valid flag to produce > a usage message, -h ? man 'command' -- \\ The mind's the standard \\ Mike Smith \\ of the man. \\ msmith@freebsd.org \\ -- Joseph Merrick \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message