doc: readme
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user