diff options
Diffstat (limited to 'cmd/mattermost/commands/channel.go')
-rw-r--r-- | cmd/mattermost/commands/channel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mattermost/commands/channel.go b/cmd/mattermost/commands/channel.go index 80740d85e..478466a34 100644 --- a/cmd/mattermost/commands/channel.go +++ b/cmd/mattermost/commands/channel.go @@ -339,7 +339,7 @@ func moveChannelsCmdF(command *cobra.Command, args []string) error { channels := getChannelsFromChannelArgs(a, args[1:]) for i, channel := range channels { if channel == nil { - CommandPrintErrorln("Unable to find channel '" + args[i] + "'") + CommandPrintErrorln("Unable to find channel '" + args[i+1] + "'") continue } originTeamID := channel.TeamId |