Software /
code /
prosody
Comparison
prosodyctl @ 8144:8e9a36d0c7d1
prosodyctl: Show description of each certificate subcommand
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 16 May 2017 17:51:33 +0200 |
parent | 8122:e56a90168890 |
child | 8146:5c91fb62338e |
child | 8177:f52cdad171b0 |
comparison
equal
deleted
inserted
replaced
8143:c4c159953c72 | 8144:8e9a36d0c7d1 |
---|---|
935 end | 935 end |
936 return cert_commands[subcmd](arg); | 936 return cert_commands[subcmd](arg); |
937 end | 937 end |
938 end | 938 end |
939 show_usage("cert config|request|generate|key|import", "Helpers for generating X.509 certificates and keys.") | 939 show_usage("cert config|request|generate|key|import", "Helpers for generating X.509 certificates and keys.") |
940 for _, cmd in pairs(cert_commands) do | |
941 print() | |
942 cmd{ "--help" } | |
943 end | |
940 end | 944 end |
941 | 945 |
942 function commands.check(arg) | 946 function commands.check(arg) |
943 if arg[1] == "--help" then | 947 if arg[1] == "--help" then |
944 show_usage([[check]], [[Perform basic checks on your Prosody installation]]); | 948 show_usage([[check]], [[Perform basic checks on your Prosody installation]]); |