diff options
author | DebXWoody <stefan@debxwoody.de> | 2021-10-17 20:41:11 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2021-12-06 13:33:21 +0100 |
commit | 2f3de0eb0da2792e6e4f0cade0acfea5af9ab370 (patch) | |
tree | 9e907c1a921a6540e95a9872f8cf8e9ef9e6dad4 /src/command/cmd_defs.c | |
parent | e745b4af60bf9d504abec737babebe0a0f9c5ef8 (diff) | |
download | profani-tty-2f3de0eb0da2792e6e4f0cade0acfea5af9ab370.tar.gz |
xep-0107: code review
* Remarks in the Merge Request (ac_reset, help) * Defines in iq.c * Mood help and null check * Added additional information about tab key in CMD_DESC. * Added additional null check
Diffstat (limited to 'src/command/cmd_defs.c')
-rw-r--r-- | src/command/cmd_defs.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index fc4c8dca..4ceb8193 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -2688,9 +2688,12 @@ static struct cmd_t command_defs[] = { CMD_SYN( "/mood set <mood> [\"Text\"]") CMD_DESC( - "Set your mood") - CMD_NOARGS - CMD_NOEXAMPLES + "Set your mood. Use the tab key to switch through the available moods") + CMD_ARGS( + { "set <mood>", "Your mood" }, + { "<text>", "Additional Text" }) + CMD_EXAMPLES( + "/mood set happy \"I'm happy\"") }, // NEXT-COMMAND (search helper) }; |