From owner-cvs-all Fri Jun 25 11:40:14 1999 Delivered-To: cvs-all@freebsd.org Received: from camtech.net.au (goliath.camtech.net.au [203.5.73.2]) by hub.freebsd.org (Postfix) with SMTP id 49CB61580A; Fri, 25 Jun 1999 11:40:08 -0700 (PDT) (envelope-from matt@camtech.net.au) Received: from dialup-ad-13-4.camtech.net.au ([203.55.243.132]) by camtech.net.au ; Sat, 26 Jun 1999 04:10:05 +0930 Date: Sat, 26 Jun 1999 04:11:20 +0930 (CST) From: Matthew Thyer X-Sender: matt@localhost Reply-To: thyerm@camtech.net.au To: Martin Cracauer Cc: Bruce Evans , hm@hcs.de, imp@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-committers@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 In-Reply-To: <19990625113218.A67007@cons.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk How about a bit of fuzzy thinking here: Both -h and -? should generate help (typically usage) without returning an error code but only one of these forms should be described in the usage and synopsis of the command (IMHO that should be -h). However it should be noted in the manual page that -? is supported. Or if that's too radical, put both -h and -? in the usage and synopsis. Its a shame that several commands have used -h. That should be strongly discouraged in the future. Those commands should use something else instead of -h for help or just rely on -?. A lot of people try -h or -? (with appropriate shell escaping) first before going for the manual page. Another thing I've seen is people trying garbage to get a usage string (e.g. date -gfdsa) in the hope that one of the characters is an invalid option! -- /=======================================================================\ | Work: Matthew.Thyer@dsto.defence.gov.au | Home: thyerm@camtech.net.au | \=======================================================================/ "If it is true that our Universe has a zero net value for all conserved quantities, then it may simply be a fluctuation of the vacuum of some larger space in which our Universe is imbedded. In answer to the question of why it happened, I offer the modest proposal that our Universe is simply one of those things which happen from time to time." E. P. Tryon from "Nature" Vol.246 Dec.14, 1973 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message