Date: Thu, 24 Jun 1999 12:02:43 -0700 From: Mike Smith <mike@smith.net.au> 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 ..) Message-ID: <199906241902.MAA00855@dingo.cdrom.com> In-Reply-To: Your message of "Thu, 24 Jun 1999 10:12:40 %2B0200." <m10x4ci-0000fkC@hcswork.hcs.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906241902.MAA00855>