summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypbind/ypbind.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ypbind/ypbind.c')
-rw-r--r--usr.sbin/ypbind/ypbind.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c
index e178f6a..bdc3aa4 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) */
OpenPOWER on IntegriCloud