mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
Fixed the example text on CLI channel command (#8613)
This commit is contained in:
committed by
Christopher Speller
parent
21b1cd44e0
commit
84ca98d9a9
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user