diff options
author | Martin Kraft <mkraft@users.noreply.github.com> | 2018-07-09 06:48:43 -0400 |
---|---|---|
committer | Carlos Tadeu Panato Junior <ctadeu@gmail.com> | 2018-07-09 12:48:43 +0200 |
commit | 8a02121767e696dac0727a9a064d6d504bc34787 (patch) | |
tree | 0fec271bb5b0be73ee445ceca2364a5ebe74441c /cmd/mattermost/commands/channel.go | |
parent | a840fc285bfead1e5a28b5293e58bdeb8c33f2b6 (diff) | |
download | chat-8a02121767e696dac0727a9a064d6d504bc34787.tar.gz chat-8a02121767e696dac0727a9a064d6d504bc34787.tar.bz2 chat-8a02121767e696dac0727a9a064d6d504bc34787.zip |
MM-11110: Fixes CLI error message. (#9062)
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 |