summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2017-04-23 07:41:25 +0000
committerjmc <jmc@openbsd.org>2017-04-23 07:41:25 +0000
commit15c17b18ad3af41a9045454751f3c3a65256ea66 (patch)
treef71dd340ee1b1f6a07a197ce9606fd86de3d6b49
parenttrim the documentation for -k: make it more consistent, (diff)
downloadwireguard-openbsd-15c17b18ad3af41a9045454751f3c3a65256ea66.tar.xz
wireguard-openbsd-15c17b18ad3af41a9045454751f3c3a65256ea66.zip
oops, this was meant to be committed with the pfctl.8 change:
sync usage() with SYNOPSIS;
-rw-r--r--sbin/pfctl/pfctl.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index 895577e6833..0ede855616d 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl.c,v 1.340 2017/04/21 23:22:49 yasuoka Exp $ */
+/* $OpenBSD: pfctl.c,v 1.341 2017/04/23 07:41:25 jmc Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -239,13 +239,13 @@ usage(void)
extern char *__progname;
fprintf(stderr, "usage: %s [-deghnPqrvz] ", __progname);
- fprintf(stderr, "[-a anchor] [-D macro=value] [-F modifier]\n");
- fprintf(stderr, "\t[-f file] [-i interface] [-K host | network]\n");
- fprintf(stderr, "\t[-k host | network | label | id] ");
- fprintf(stderr, "[-L statefile] [-o level] [-p device]\n");
- fprintf(stderr, "\t[-S statefile] [-s modifier [-R id]] ");
- fprintf(stderr, "[-t table -T command [address ...]]\n");
- fprintf(stderr, "\t[-V rdomain] [-x level]\n");
+ fprintf(stderr, "[-a anchor] [-D macro=value] [-F modifier]");
+ fprintf(stderr, " [-f file]\n");
+ fprintf(stderr, "\t[-i interface] [-K key] [-k key] [-L statefile]");
+ fprintf(stderr, " [-o level]\n");
+ fprintf(stderr, "\t[-p device] [-S statefile] [-s modifier [-R id]]\n");
+ fprintf(stderr, "\t[-t table -T command [address ...]]");
+ fprintf(stderr, " [-V rdomain] [-x level]\n");
exit(1);
}