Software / code / prosody
Comparison
prosodyctl @ 8146:5c91fb62338e
Merge 0.10->trunk
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 17 May 2017 01:06:20 +0200 |
| parent | 8128:c14513401d65 |
| parent | 8144:8e9a36d0c7d1 |
| child | 8153:c22d5680ca68 |
comparison
equal
deleted
inserted
replaced
| 8133:102e1ec8bee1 | 8146:5c91fb62338e |
|---|---|
| 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]]); |