diff options
-rw-r--r-- | cmd/platform/channel.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/platform/channel.go b/cmd/platform/channel.go index 53daf0f9a..0ff2a1b5f 100644 --- a/cmd/platform/channel.go +++ b/cmd/platform/channel.go @@ -231,7 +231,7 @@ func archiveChannelsCmdF(cmd *cobra.Command, args []string) error { } if len(args) < 1 { - return errors.New("Enter at least one channel to delete.") + return errors.New("Enter at least one channel to archive.") } channels := getChannelsFromChannelArgs(args) @@ -241,7 +241,7 @@ func archiveChannelsCmdF(cmd *cobra.Command, args []string) error { continue } if result := <-app.Srv.Store.Channel().Delete(channel.Id, model.GetMillis()); result.Err != nil { - CommandPrintErrorln("Unable to delete channel '" + channel.Name + "' error: " + result.Err.Error()) + CommandPrintErrorln("Unable to archive channel '" + channel.Name + "' error: " + result.Err.Error()) } } |