diff options
author | 2017-01-24 12:44:40 +0000 | |
---|---|---|
committer | 2017-01-24 12:44:40 +0000 | |
commit | d22f23b45a238a53e8d6856d1766bc064bca527d (patch) | |
tree | 007d4dfd800c48cb91fa1078c9fd1e35b514ffb8 | |
parent | in resolver(3), document that _EDNS0 and _DNSSEC are no ops; (diff) | |
download | wireguard-openbsd-d22f23b45a238a53e8d6856d1766bc064bca527d.tar.xz wireguard-openbsd-d22f23b45a238a53e8d6856d1766bc064bca527d.zip |
correct usage format; ok beck claudio benno
-rw-r--r-- | usr.sbin/ocspcheck/ocspcheck.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ocspcheck/ocspcheck.c b/usr.sbin/ocspcheck/ocspcheck.c index 87d8b747fba..252e8997f73 100644 --- a/usr.sbin/ocspcheck/ocspcheck.c +++ b/usr.sbin/ocspcheck/ocspcheck.c @@ -495,8 +495,9 @@ validate_response(char *buf, size_t size, ocsp_request *request, static void usage(void) { - errx(1, "usage: %s [-Nv] [-C CAfile] [-o staplefile] file", - getprogname()); + fprintf(stderr, + "usage: ocspcheck [-Nv] [-C CAfile] [-o staplefile] file\n"); + exit(1); } int |