diff options
author | 2014-01-10 04:36:58 +0000 | |
---|---|---|
committer | 2014-01-10 04:36:58 +0000 | |
commit | 609c6d0630ff7695c00be8d88cde7d284de25ee8 (patch) | |
tree | db2ddac631d8aebb32b6b48508555f76375397ce | |
parent | a little more consistent with names, notably call signature files sigfiles (diff) | |
download | wireguard-openbsd-609c6d0630ff7695c00be8d88cde7d284de25ee8.tar.xz wireguard-openbsd-609c6d0630ff7695c00be8d88cde7d284de25ee8.zip |
use a single positional argument instead of a creeping list of __progname
-rw-r--r-- | usr.bin/signify/signify.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/usr.bin/signify/signify.c b/usr.bin/signify/signify.c index ec3c4a76316..53dd0931e3a 100644 --- a/usr.bin/signify/signify.c +++ b/usr.bin/signify/signify.c @@ -1,4 +1,4 @@ -/* $OpenBSD: signify.c,v 1.24 2014/01/10 04:34:24 tedu Exp $ */ +/* $OpenBSD: signify.c,v 1.25 2014/01/10 04:36:58 tedu Exp $ */ /* * Copyright (c) 2013 Ted Unangst <tedu@openbsd.org> * @@ -72,14 +72,11 @@ usage(void) { fprintf(stderr, "usage:" #ifndef VERIFYONLY - "\t%s -G [-n] -p pubkey -s seckey\n" - "\t%s -I [-o sigfile] [-p pubkey] [-s seckey]\n" - "\t%s -S [-e] [-o sigfile] -s seckey message\n" -#endif - "\t%s -V [-e] [-o sigfile] -p pubkey message\n", -#ifndef VERIFYONLY - __progname, __progname, __progname, + "\t%1$s -G [-n] -p pubkey -s seckey\n" + "\t%1$s -I [-o sigfile] [-p pubkey] [-s seckey]\n" + "\t%1$s -S [-e] [-o sigfile] -s seckey message\n" #endif + "\t%1$s -V [-e] [-o sigfile] -p pubkey message\n", __progname); exit(1); } |