diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-01-10 04:36:59 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-01-10 04:36:59 +0000 |
commit | 7e216f328e5501558cc372553b6935f379cfe05e (patch) | |
tree | d6335cedfb69964cdc6a3d52f8d8af56af565074 /usr.bin/signify | |
parent | 94c67d9521217978f7b757c2c3cdbbf1daf86b2d (diff) |
use a single positional argument instead of a creeping list of __progname
Diffstat (limited to 'usr.bin/signify')
-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); } |