Fixed the example text on CLI channel command (#8613)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
21b1cd44e0
Коммит
84ca98d9a9
@@ -31,7 +31,7 @@ var RemoveChannelUsersCmd = &cobra.Command{
|
|||||||
Use: "remove [channel] [users]",
|
Use: "remove [channel] [users]",
|
||||||
Short: "Remove users from channel",
|
Short: "Remove users from channel",
|
||||||
Long: "Remove some 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,
|
RunE: removeChannelUsersCmdF,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -39,7 +39,7 @@ var AddChannelUsersCmd = &cobra.Command{
|
|||||||
Use: "add [channel] [users]",
|
Use: "add [channel] [users]",
|
||||||
Short: "Add users to channel",
|
Short: "Add users to channel",
|
||||||
Long: "Add some 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,
|
RunE: addChannelUsersCmdF,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user