Date: Thu, 24 Jun 1999 00:56:41 -0600 (MDT) From: "Kenneth D. Merry" <ken@plutotech.com> To: imp@FreeBSD.org (Warner Losh) Cc: cvs-committers@FreeBSD.org, cvs-all@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 Message-ID: <199906240656.AAA84827@panzer.plutotech.com> In-Reply-To: <199906240643.XAA20366@freefall.freebsd.org> from Warner Losh at "Jun 23, 1999 11:43:22 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh wrote... > imp 1999/06/23 23:43:22 PDT > > Modified files: > usr.sbin/i4b/isdnd main.c > usr.sbin/i4b/isdndebug main.c > usr.sbin/i4b/isdndecode main.c > usr.sbin/i4b/isdntel main.c > usr.sbin/i4b/isdntelctl main.c > usr.sbin/i4b/isdntest main.c > usr.sbin/i4b/isdntrace trace.c > usr.sbin/iostat iostat.c > usr.sbin/yppoll yppoll.c > Log: > Two getopts related nits: > o getopt returns -1 rather than EOF on errors > o getopt returns '?' for characters it doesn't know about, so > don't include them in the getopt options string. > > 1.13 +2 -2 src/usr.sbin/iostat/iostat.c I'm not sure I agree with this change. - the iostat(8) man page specifically lists -? as a valid option flag - taking the -? out of the option string causes getopt to complain: old version of iostat: $ iostat -? usage: iostat [-CdhIKoT?] [-c count] [-M core] [-n devs] [-N system] [-t type,if,pass] [-w wait] [drives] current version of df: $ df -? df: illegal option -- ? usage: df [-ikn] [-t type] [file | filesystem ...] - I maintain iostat, and you didn't ask me about the change Ken -- Kenneth Merry ken@plutotech.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?199906240656.AAA84827>