summaryrefslogtreecommitdiffstats
path: root/usr.bin/ctfconv/ctfconv.c
diff options
context:
space:
mode:
authorjasper <jasper@openbsd.org>2017-08-12 19:00:08 +0000
committerjasper <jasper@openbsd.org>2017-08-12 19:00:08 +0000
commitf471c1b300ffe5e6905df727b3be148a46886323 (patch)
tree1a5330416c72a81a986a618f8d5f4aa02abc0db7 /usr.bin/ctfconv/ctfconv.c
parentUse the login name from id -p to compare with ps -o login. This (diff)
downloadwireguard-openbsd-f471c1b300ffe5e6905df727b3be148a46886323.tar.xz
wireguard-openbsd-f471c1b300ffe5e6905df727b3be148a46886323.zip
tweak usage
prompted by and ok jmc@
Diffstat (limited to 'usr.bin/ctfconv/ctfconv.c')
-rw-r--r--usr.bin/ctfconv/ctfconv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/ctfconv/ctfconv.c b/usr.bin/ctfconv/ctfconv.c
index 8f8e2cd7a0a..5d95ee2334f 100644
--- a/usr.bin/ctfconv/ctfconv.c
+++ b/usr.bin/ctfconv/ctfconv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ctfconv.c,v 1.6 2017/08/11 20:49:26 jasper Exp $ */
+/* $OpenBSD: ctfconv.c,v 1.7 2017/08/12 19:00:08 jasper Exp $ */
/*
* Copyright (c) 2016-2017 Martin Pieuchot
@@ -77,8 +77,7 @@ struct itype_queue iobjq = TAILQ_HEAD_INITIALIZER(iobjq);
__dead void
usage(void)
{
- fprintf(stderr, "usage: %s -d file\n", getprogname());
- fprintf(stderr, " %s -l label -o outfile file\n",
+ fprintf(stderr, "usage: %s [-d] -l label -o outfile file\n",
getprogname());
exit(1);
}