aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ypbind
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-07-13 14:10:09 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-07-13 14:10:09 +0000
commit2e2d2a1322c466bff26d548890d8324565dc2b74 (patch)
tree640f0de9f3f77c1182b92ef9da93b8b252899ef5 /usr.sbin/ypbind
parent427fc5ed6fc8d69e6c65c445a9ff61017ce2d2ec (diff)
Notes
Diffstat (limited to 'usr.sbin/ypbind')
-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 e178f6ad306f5..bdc3aa4e91777 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) */