aboutsummaryrefslogtreecommitdiff
path: root/cmd/seasonals.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-08-17 22:33:40 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-08-17 22:33:40 +0530
commitadffba663dbe8daebe311dc8f3ae5d40109cb2dd (patch)
tree0a8aa46d9a297ea346d5092aafd10602df4f0930 /cmd/seasonals.go
parentc413effd06e43abd197735915d136124324e24b1 (diff)
reading config file's defaults while searching
Diffstat (limited to 'cmd/seasonals.go')
-rw-r--r--cmd/seasonals.go4
1 files changed, 1 insertions, 3 deletions
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")