On Sat, 03 Dec 2022 20:14:37 -0600, Scott Cheloha wrote:

> There are nearly a hundred vestigial question mark cases in the
> top-level getopt(3) loops of various programs.  You know, this:
>
>       switch (ch) {
>       /* ... */
>       case '?':
>       default:
>               usage();
>       }
>
> All of them are redundant and can be handled by the "default" case,
> which invariably fails the program.
>
> This patch covers bin, games, regress, sbin, usr.bin, and usr.sbin.  I
> excluded the csh(1)/ksh(1) builtins.  I also excluded nsd and unbound;
> they don't look domestic.  gnu is also not domestic and is excluded.

OK millert@

 - todd

Reply via email to