summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/acme-client/acme-client.16
-rw-r--r--usr.sbin/acme-client/main.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/acme-client/acme-client.1 b/usr.sbin/acme-client/acme-client.1
index 489ee2f30a9..e12656203d3 100644
--- a/usr.sbin/acme-client/acme-client.1
+++ b/usr.sbin/acme-client/acme-client.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: acme-client.1,v 1.13 2017/01/21 08:43:09 benno Exp $
+.\" $OpenBSD: acme-client.1,v 1.14 2017/01/21 08:44:35 benno Exp $
.\"
.\" Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -52,9 +52,9 @@ If there are no certificates in place, this option does nothing.
Force updating the certificate signature even if it's too soon.
.It Fl f Ar configfile
Specify an alternative configuration file.
-.It Fl N
+.It Fl D
Create a new RSA domain key if one does not already exist.
-.It Fl n
+.It Fl A
Create a new RSA account key if one does not already exist.
.It Fl r
Revoke the X509 certificate found in the certificates.
diff --git a/usr.sbin/acme-client/main.c b/usr.sbin/acme-client/main.c
index 14f355a35b8..59202ecbac2 100644
--- a/usr.sbin/acme-client/main.c
+++ b/usr.sbin/acme-client/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.16 2017/01/21 08:43:09 benno Exp $ */
+/* $Id: main.c,v 1.17 2017/01/21 08:44:35 benno Exp $ */
/*
* Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -66,10 +66,10 @@ main(int argc, char *argv[])
case 'F':
force = 1;
break;
- case 'n':
+ case 'A':
popts |= ACME_OPT_NEWACCT;
break;
- case 'N':
+ case 'D':
popts |= ACME_OPT_NEWDKEY;
break;
case 'r':
@@ -399,6 +399,6 @@ main(int argc, char *argv[])
(2 == c ? EXIT_SUCCESS : 2));
usage:
fprintf(stderr,
- "usage: acme-client [-bFnNrv] [-f file] domain\n");
+ "usage: acme-client [-bFADrv] [-f file] domain\n");
return (EXIT_FAILURE);
}