Date: Sun, 3 Sep 2000 20:49:22 -0700 (PDT) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdlib getopt.c Message-ID: <200009040349.UAA41015@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2000/09/03 20:49:22 PDT Modified files: lib/libc/stdlib getopt.c Log: Don't print an error message if the bad option is '?'. This has been in my tree for a long time. bde reviewed this once upon a time and said it was OK, iirc. This also obviates the need to put ? in the optstring argument to preclude the extra warning message which some people think confuses users. When I made my getopt cleanups of a long time ago, this was the compromise reached. I just neglected to commit it until now. Revision Changes Path 1.3 +2 -2 src/lib/libc/stdlib/getopt.c 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?200009040349.UAA41015>