aboutsummaryrefslogtreecommitdiff
path: root/cmd/chapters.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/chapters.go')
-rw-r--r--cmd/chapters.go1
1 files changed, 1 insertions, 0 deletions
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 <anime-name>`\x1b[0m to increment the chapters by 1\n" +
" - \x1b[33m`macli chapters -s -2 <anime-name>`\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