summaryrefslogtreecommitdiffstats
path: root/usr.sbin/switchd/switchd.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2016-09-25 23:05:29 +0000
committerjsg <jsg@openbsd.org>2016-09-25 23:05:29 +0000
commitd3290ae04f58325195a12221e0ea30a19e996387 (patch)
treefb8e577c8a6dd75c916fdc20dc4ce6f776fd913a /usr.sbin/switchd/switchd.c
parentAdapt more places where binutils-2.17 has changed the format of the (diff)
downloadwireguard-openbsd-d3290ae04f58325195a12221e0ea30a19e996387.tar.xz
wireguard-openbsd-d3290ae04f58325195a12221e0ea30a19e996387.zip
Correct the flag listing for switchd(8) and add a files section for the
configuration file. Sync usage() with the result. With feedback from and ok jmc@
Diffstat (limited to 'usr.sbin/switchd/switchd.c')
-rw-r--r--usr.sbin/switchd/switchd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/switchd/switchd.c b/usr.sbin/switchd/switchd.c
index 1fbdcce24df..59819858342 100644
--- a/usr.sbin/switchd/switchd.c
+++ b/usr.sbin/switchd/switchd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: switchd.c,v 1.10 2016/09/20 16:45:09 rzalamena Exp $ */
+/* $OpenBSD: switchd.c,v 1.11 2016/09/25 23:05:29 jsg Exp $ */
/*
* Copyright (c) 2013-2016 Reyk Floeter <reyk@openbsd.org>
@@ -60,8 +60,8 @@ __dead void
usage(void)
{
extern const char *__progname;
- fprintf(stderr, "usage: %s [-dnv] [-D macro=value] [-f file] "
- "[-c mac-cache-size] [-t cache-timeout]\n",
+ fprintf(stderr, "usage: %s [-dnv] [-c cachesize] [-D macro=value] "
+ "[-f file] [-t timeout]\n",
__progname);
exit(1);
}