From adffba663dbe8daebe311dc8f3ae5d40109cb2dd Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 17 Aug 2022 22:33:40 +0530 Subject: reading config file's defaults while searching --- cmd/seasonals.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cmd/seasonals.go') diff --git a/cmd/seasonals.go b/cmd/seasonals.go index 7fd4cde..5efe544 100644 --- a/cmd/seasonals.go +++ b/cmd/seasonals.go @@ -22,7 +22,7 @@ import ( // "os" "fmt" // "strings" - "github.com/MikunoNaka/macli/ui" + // "github.com/MikunoNaka/macli/ui" "github.com/MikunoNaka/macli/util" "github.com/MikunoNaka/macli/mal" @@ -58,8 +58,6 @@ var seasonalsCmd = &cobra.Command{ func init() { rootCmd.AddCommand(seasonalsCmd) - seasonalsCmd.Flags().IntVarP(&ui.PromptLength, "prompt-length", "l", 5, "Length of select prompt") - seasonalsCmd.Flags().BoolVarP(&queryOnlyMode, "query", "q", false, "Query only (don't update data)") seasonalsCmd.Flags().IntVarP(&mal.SearchLength, "results-length", "n", 10, "Amount of results to load") seasonalsCmd.Flags().BoolVarP(&mal.SearchNSFW, "include-nsfw", "", false, "Include NSFW-rated items in results") seasonalsCmd.Flags().IntVarP(&mal.SearchOffset, "results-offset", "o", 0, "Offset for the results") -- cgit v1.2.3