Software / code / prosody
Comparison
prosodyctl @ 12102:949c2b52f51e
prosodyctl: Reorder help sections
By how old the commands are?
Or how disruptive the changes are?
Or just by what feels best?
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 21 Dec 2021 13:11:41 +0100 |
| parent | 11884:248477e45c64 |
| child | 12103:fc297128c33a |
comparison
equal
deleted
inserted
replaced
| 12101:7cd94469d15f | 12102:949c2b52f51e |
|---|---|
| 651 print("Usage: "..arg[0].." COMMAND [OPTIONS]"); | 651 print("Usage: "..arg[0].." COMMAND [OPTIONS]"); |
| 652 print(""); | 652 print(""); |
| 653 print("Where COMMAND may be one of:"); | 653 print("Where COMMAND may be one of:"); |
| 654 | 654 |
| 655 local hidden_commands = require "util.set".new{ "register", "unregister" }; | 655 local hidden_commands = require "util.set".new{ "register", "unregister" }; |
| 656 local commands_order = { -- FIXME Double check order before 0.12 | 656 local commands_order = { |
| 657 "Plugin management:", | |
| 658 "install"; "remove"; "list"; | |
| 659 "User management:", | |
| 660 "adduser"; "passwd"; "deluser"; | |
| 661 "Process management:", | 657 "Process management:", |
| 662 "start"; "stop"; "restart"; "reload"; "status"; | 658 "start"; "stop"; "restart"; "reload"; "status"; |
| 663 "shell", | 659 "shell", |
| 660 "User management:", | |
| 661 "adduser"; "passwd"; "deluser"; | |
| 662 "Plugin management:", | |
| 663 "install"; "remove"; "list"; | |
| 664 "Informative:", | 664 "Informative:", |
| 665 "about", | 665 "about", |
| 666 "check", | 666 "check", |
| 667 "Other:", | 667 "Other:", |
| 668 "cert", | 668 "cert", |