diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c index e178f6ad306f..bdc3aa4e9177 100644 --- a/usr.sbin/ypbind/ypbind.c +++ b/usr.sbin/ypbind/ypbind.c @@ -419,6 +419,8 @@ char **argv; yp_restricted_mode(argv[i+1]); else if (strcmp("-m", argv[i]) == 0) yp_manycast++; + else + errx(1, "unknown option: %s", argv[i]); } /* blow away everything in BINDINGDIR (if it exists) */