doc: readme

This commit is contained in:
eneller
2026-05-14 23:58:54 +02:00
parent e6e51fab1b
commit 5a53db8562
2 changed files with 3 additions and 2 deletions

View File

@@ -18,7 +18,8 @@ USAGE:
COMMANDS:
message send a message using <JID> <MESSAGE>
getgroups print all available group info
poll send a poll using <JID> <HEADER> <OPTIONS> ; requires a group ID
poll send a poll to a group using <JID> <HEADER> <OPTIONS>
image send an image using <JID> <PATH> <CAPTION>
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:

View File

@@ -153,7 +153,7 @@ func main() {
},
{
Name: "poll",
Usage: "send a poll using <JID> <HEADER> <OPTIONS>",
Usage: "send a poll to a group using <JID> <HEADER> <OPTIONS>",
Arguments: []cli.Argument{
&cli.StringArg{Name: "jid", Destination: &jidStr},
&cli.StringArg{Name: "header", Destination: &header},