diff --git a/internal/app/view/people.go b/internal/app/view/people.go index 950100e..1641a4a 100644 --- a/internal/app/view/people.go +++ b/internal/app/view/people.go @@ -36,7 +36,7 @@ func RunViewCoursePeople(cmd *cobra.Command, args []string) { } pterm.Println() if err := pterm.DefaultTable.WithHasHeader().WithData(tableData).Render(); err != nil { - pterm.Error.Printfln("Error rendering events: %s", err.Error()) + pterm.Error.Printfln("Error rendering people: %s", err.Error()) os.Exit(1) } pterm.Info.Printfln("Showing %d people from %s", len(coursePeople), courseCode)