Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 1996 14:15:39 +0200 (MET DST)
From:      Wolfram Schneider <wosch@cs.tu-berlin.de>
To:        joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
Cc:        mpp@freefall.freebsd.org (Mike Pritchard), wosch@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-share@freefall.freebsd.org
Subject:   Re: cvs commit:  src/share/man/man9 style.9
Message-ID:  <199608231215.OAA22685@caramba.cs.tu-berlin.de>
In-Reply-To: <199608230710.JAA29339@uriah.heep.sax.de>
References:  <199608222027.NAA14699@freefall.freebsd.org> <199608230710.JAA29339@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
J. Wunsch writes:
>As Mike Pritchard wrote:
>
>> >   remove case '?', if '?' is not in getopt(), it should
>> >   not be in the switch statement
>
>> '?' is a valid return value from getopt(), and should probably be
>> in the switch statement, even if it is covered by the "default" case.
>> Since this is the style guide, including it in the example will
>> at least make people think about it.
>
>Yep.  Folks, please discuss modifications to the style guide first.

There was a discussion  6 months ago. 

mv.c
revision 1.6
date: 1996/02/19 05:51:13;  author: pst;  state: Exp;  lines: +2 -5
[...] -? is an unnecessary case statement and not useful

Wolfram



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608231215.OAA22685>