aboutsummaryrefslogtreecommitdiff
path: root/cmd/score.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/score.go')
-rw-r--r--cmd/score.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/score.go b/cmd/score.go
index a7a5aaa..57442fe 100644
--- a/cmd/score.go
+++ b/cmd/score.go
@@ -51,6 +51,7 @@ var scoreCmd = &cobra.Command{
mal.SearchLength = conf.SearchLength
mal.SearchOffset = conf.SearchOffset
mal.SearchNSFW = conf.SearchNSFW
+ mal.AutoSel = conf.AutoSel
ui.PromptLength = conf.PromptLength
mal.Init()
@@ -174,6 +175,7 @@ func init() {
scoreCmd.Flags().IntVarP(&entryId, "id", "i", -1, "Manually specify the ID of anime/manga (overrides search)")
scoreCmd.Flags().StringVarP(&mal.Secret, "authentication-token", "t", "", "MyAnimeList authentication token to use (overrides system keyring if any)")
+ scoreCmd.Flags().IntP("auto-select", "S", 0, "Automatically select nth value")
scoreCmd.Flags().IntP("prompt-length", "l", 5, "Length of select prompt")
scoreCmd.Flags().IntP("search-length", "n", 10, "Amount of search results to load")
scoreCmd.Flags().IntP("search-offset", "o", 0, "Offset for the search results")