From: Andreas Gustafsson Date: Thu, 21 Sep 2000 18:27:15 +0000 (+0000) Subject: pullup: usage changes X-Git-Tag: v9.0.0^2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d27e15b2c68f89075f9c29f49f8c4fc1c5b3446e;p=thirdparty%2Fbind9.git pullup: usage changes --- diff --git a/bin/dnssec/dnssec-keygen.c b/bin/dnssec/dnssec-keygen.c index 098986227a6..1b5b6f30094 100644 --- a/bin/dnssec/dnssec-keygen.c +++ b/bin/dnssec/dnssec-keygen.c @@ -17,7 +17,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dnssec-keygen.c,v 1.36 2000/06/22 02:48:12 bwelling Exp $ */ +/* $Id: dnssec-keygen.c,v 1.36.2.1 2000/09/21 18:27:15 gson Exp $ */ #include @@ -56,7 +56,7 @@ dsa_size_ok(int size) { static void usage(void) { printf("Usage:\n"); - printf(" %s [options] name\n\n", program); + printf(" %s -a alg -b bits -n type [options] name\n\n", program); printf("Required options:\n"); printf(" -a algorithm: RSA | RSAMD5 | DH | DSA | HMAC-MD5\n"); printf(" -b key size, in bits:\n"); @@ -69,15 +69,13 @@ usage(void) { printf("Other options:\n"); printf(" -e use large exponent (RSA only)\n"); printf(" -g use specified generator (DH only)\n"); - printf(" -t type: AUTHCONF | NOAUTHCONF | NOAUTH | NOCONF\n"); - printf(" default: AUTHCONF\n"); - printf(" -p protocol value\n"); - printf(" default: 2 (email) for User keys, " - "3 (dnssec) for all others\n"); - printf(" -s strength value this key signs DNS records with\n"); - printf(" default: 0\n"); - printf(" -r randomdev\n"); - printf(" a file containing random data\n"); + printf(" -t type: AUTHCONF | NOAUTHCONF | NOAUTH | NOCONF " + "(default: AUTHCONF)\n"); + printf(" -p protocol value " + "(default: 2 [email] for USER, 3 [dnssec] otherwise)\n"); + printf(" -s strength value this key signs DNS records with " + "(default: 0)\n"); + printf(" -r randomdev (a file containing random data)\n"); printf(" -v verbose level\n"); exit (-1);