From 720045d9ea2e612ca0f0b7333ee62a73b2955a15 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 2 Jul 2022 14:41:18 +0530 Subject: Bug Fix: `macli login` showing error message that user is not logged in --- cmd/chapters.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/chapters.go') diff --git a/cmd/chapters.go b/cmd/chapters.go index 26d947b..ae2596f 100644 --- a/cmd/chapters.go +++ b/cmd/chapters.go @@ -40,6 +40,7 @@ var chaptersCmd = &cobra.Command{ " - \x1b[33m`macli chapters -s +1 `\x1b[0m to increment the chapters by 1\n" + " - \x1b[33m`macli chapters -s -2 `\x1b[0m to decrement the chapters by 2\n", Run: func(cmd *cobra.Command, args []string) { + mal.Init() searchInput := strings.Join(args, " ") if searchInput == "" { var promptText string -- cgit v1.2.3