aboutsummaryrefslogtreecommitdiff
path: root/src/ejabberd_admin.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ejabberd_admin.erl')
-rw-r--r--src/ejabberd_admin.erl9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ejabberd_admin.erl b/src/ejabberd_admin.erl
index c68a08315..eaa22aeb4 100644
--- a/src/ejabberd_admin.erl
+++ b/src/ejabberd_admin.erl
@@ -248,17 +248,18 @@ get_commands_spec() ->
result = {res, restuple}},
#ejabberd_commands{name = get_certificate, tags = [acme],
- desc = "Gets a certificate for the specified domain",
+ desc = "Gets a certificate for the specified domain. Can be used with {old-account|new-account}.",
module = ?MODULE, function = get_certificate,
args_desc = ["Whether to create a new account or use the existing one"],
+ args_example = ["old-account | new-account"],
args = [{option, string}],
- result = {certificate, string}},
+ result = {certificates, string}},
#ejabberd_commands{name = list_certificates, tags = [acme],
- desc = "Lists all curently handled certificates and their respective domains",
+ desc = "Lists all curently handled certificates and their respective domains in {plain|verbose} format",
module = ?MODULE, function = list_certificates,
args_desc = ["Whether to print the whole certificate or just some metadata. Possible values: plain | verbose"],
args = [{option, string}],
- result = {certificates, {list,{certificate, string}}}},
+ result = {certificates, {list, {certificate, string}}}},
#ejabberd_commands{name = revoke_certificate, tags = [acme],
desc = "Revokes the selected certificate",
module = ?MODULE, function = revoke_certificate,