Mercurial > prosody-modules
comparison mod_pubsub_text_interface/mod_pubsub_text_interface.lua @ 5134:e0d0ef564095
mod_pubsub_text_interface: Try to clarify help message wrt node arguments
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 08 Jan 2023 17:54:11 +0100 |
| parents | d7652471ae3e |
| children |
comparison
equal
deleted
inserted
replaced
| 5133:d7652471ae3e | 5134:e0d0ef564095 |
|---|---|
| 11 Commands: | 11 Commands: |
| 12 | 12 |
| 13 - `help` - this help message | 13 - `help` - this help message |
| 14 - `list` - list available nodes | 14 - `list` - list available nodes |
| 15 - `subscriptions` - list nodes you are subscribed to | 15 - `subscriptions` - list nodes you are subscribed to |
| 16 - `subscribe node` - subscribe to a node | 16 - `subscribe NODE` - subscribe to a node |
| 17 - `unsubscribe node` - unsubscribe from a node]]; | 17 - `unsubscribe NODE` - unsubscribe from a node]]; |
| 18 if pubsub.get_last_item then -- COMPAT not available in 0.10 | 18 if pubsub.get_last_item then -- COMPAT not available in 0.10 |
| 19 help = help .. "\n- `last node` - send the last item (again)" | 19 help = help .. "\n- `last NODE` - send the last item (again)" |
| 20 end | 20 end |
| 21 -- FIXME better word for "node" | 21 -- FIXME better word for "node" |
| 22 | 22 |
| 23 local friendly_pubsub_errors = { | 23 local friendly_pubsub_errors = { |
| 24 ["forbidden"] = "You are not allowed to do that"; | 24 ["forbidden"] = "You are not allowed to do that"; |
