Skip to content

Commit

Permalink
Fixes: team users add and remove command example (mattermost#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
AshishDhama authored Mar 10, 2022
1 parent c175b79 commit b471ebc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions commands/team_users.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var TeamUsersRemoveCmd = &cobra.Command{
Use: "remove [team] [users]",
Short: "Remove users from team",
Long: "Remove some users from team",
Example: " team remove myteam [email protected] username",
Example: " team users remove myteam [email protected] username",
Args: cobra.MinimumNArgs(2),
RunE: withClient(teamUsersRemoveCmdF),
}
Expand All @@ -30,7 +30,7 @@ var TeamUsersAddCmd = &cobra.Command{
Use: "add [team] [users]",
Short: "Add users to team",
Long: "Add some users to team",
Example: " team add myteam [email protected] username",
Example: " team users add myteam [email protected] username",
Args: cobra.MinimumNArgs(2),
RunE: withClient(teamUsersAddCmdF),
}
Expand Down
2 changes: 1 addition & 1 deletion docs/mmctl_team_users_add.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Examples

::

team add myteam [email protected] username
team users add myteam [email protected] username

Options
~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion docs/mmctl_team_users_remove.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Examples

::

team remove myteam [email protected] username
team users remove myteam [email protected] username

Options
~~~~~~~
Expand Down

0 comments on commit b471ebc

Please sign in to comment.