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