From owner-freebsd-bugs Wed Aug 25 0: 0:33 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6626A1531C for ; Wed, 25 Aug 1999 00:00:26 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id AAA07170; Wed, 25 Aug 1999 00:00:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 25 Aug 1999 00:00:04 -0700 (PDT) Message-Id: <199908250700.AAA07170@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/13363: Patch to env(1) for Unix 98 compatability Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/13363; it has been noted by GNATS. From: Sheldon Hearn To: howardjp@wam.umd.edu Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/13363: Patch to env(1) for Unix 98 compatability Date: Wed, 25 Aug 1999 08:53:36 +0200 On Tue, 24 Aug 1999 22:42:09 -0400, James Howard wrote: > ! while ((ch = getopt(argc, argv, "i-")) != -1) > switch(ch) { > + case 'i': > + /* > + * For Unix 98 compatability. > + */ > + /* FALLTHROUGH */ Hi James/Jamie (which do you prefer?), Bill Fumerola replied telling you that style(9) requires a slightly different format for your comments. While it's true, the example he gave you doesn't appear in style(9). I'd do this: case 'i': /* Unix 98 compatibility option */ /* FALLTHROUGH */ Personally, I wouldn't provide the comment at all. Focus on the manpage instead. :-P Oh, and note the spelling of compatibility. :-) later, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message