summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorJesús Espino <jespinog@gmail.com>2018-04-13 16:58:21 +0200
committerChristopher Speller <crspeller@gmail.com>2018-04-13 07:58:21 -0700
commit84ca98d9a9367e159c952cc3c0a4c9b4dde4796d (patch)
tree13866ae95bdfe4fe7f6465fc041582721aa1d6d5 /cmd
parent21b1cd44e09c41ea581ee05de46db5e5f3fa1696 (diff)
downloadchat-84ca98d9a9367e159c952cc3c0a4c9b4dde4796d.tar.gz
chat-84ca98d9a9367e159c952cc3c0a4c9b4dde4796d.tar.bz2
chat-84ca98d9a9367e159c952cc3c0a4c9b4dde4796d.zip
Fixed the example text on CLI channel command (#8613)
Diffstat (limited to 'cmd')
-rw-r--r--cmd/commands/channel.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/commands/channel.go b/cmd/commands/channel.go
index 597a22450..d7b48f04c 100644
--- a/cmd/commands/channel.go
+++ b/cmd/commands/channel.go
@@ -31,7 +31,7 @@ var RemoveChannelUsersCmd = &cobra.Command{
Use: "remove [channel] [users]",
Short: "Remove users from channel",
Long: "Remove some users from channel",
- Example: " channel remove mychannel user@example.com username",
+ Example: " channel remove myteam:mychannel user@example.com username",
RunE: removeChannelUsersCmdF,
}
@@ -39,7 +39,7 @@ var AddChannelUsersCmd = &cobra.Command{
Use: "add [channel] [users]",
Short: "Add users to channel",
Long: "Add some users to channel",
- Example: " channel add mychannel user@example.com username",
+ Example: " channel add myteam:mychannel user@example.com username",
RunE: addChannelUsersCmdF,
}