Commit 8a021217 authored by Martin Kraft's avatar Martin Kraft Committed by Carlos Tadeu Panato Junior

MM-11110: Fixes CLI error message. (#9062)

parent a840fc28
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment