diff options
Diffstat (limited to 'sbin/pfctl')
-rw-r--r-- | sbin/pfctl/pfctl.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index 8951e0c3eec..a76df9e7b1b 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.c,v 1.11 2001/06/25 22:14:07 smart Exp $ */ +/* $OpenBSD: pfctl.c,v 1.12 2001/06/26 00:18:30 jasoni Exp $ */ /* * Copyright (c) 2001, Daniel Hartmeier @@ -411,6 +411,9 @@ main(int argc, char *argv[]) int dev; int ch; + if (argc < 2) + usage(); + while ((ch = getopt(argc, argv, "c:del:n:r:s:")) != -1) { switch (ch) { case 'c': |