To quote the FreeBSD commit message where this is from: ---------------> find: Exit if there is an unknown option.
Ignoring the parameter with the unknown options is unlikely to be what was intended. Example: find -n . Note that things like find -n already caused an exit, equivalent to "find" by itself. <--------------- Index: main.c =================================================================== RCS file: /cvs/src/usr.bin/find/main.c,v retrieving revision 1.27 diff -u -p -r1.27 main.c --- main.c 21 Apr 2011 01:14:21 -0000 1.27 +++ main.c 13 Jun 2011 22:50:09 -0000 @@ -99,7 +99,7 @@ main(int argc, char *argv[]) break; case '?': default: - break; + usage(); } argc -= optind; -- Christian "naddy" Weisgerber na...@mips.inka.de