aboutsummaryrefslogtreecommitdiff
path: root/cmd/episodes.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-11-26 14:30:11 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-11-26 14:30:11 +0530
commit747e4795424c6f9112f0e64bcb434df42b2ba8c5 (patch)
tree080a85cdf9a2f001562d9583f1e911c70497839d /cmd/episodes.go
parent50f211800946318ff4e3c40c1fc497c149b0380d (diff)
fixed help messages, etc
Diffstat (limited to 'cmd/episodes.go')
-rw-r--r--cmd/episodes.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/episodes.go b/cmd/episodes.go
index a2dbd4d..57dbba5 100644
--- a/cmd/episodes.go
+++ b/cmd/episodes.go
@@ -40,7 +40,8 @@ var episodesCmd = &cobra.Command{
" - \x1b[33m`macli episodes <anime-name>`\x1b[0m For interactive prompt (anime-name can be omitted)\n" +
" - \x1b[33m`macli episodes -s 4 <anime-name>`\x1b[0m to set the episodes to 4\n" +
" - \x1b[33m`macli episodes -s +1 <anime-name>`\x1b[0m to increment the episodes by 1\n" +
- " - \x1b[33m`macli episodes -s -2 <anime-name>`\x1b[0m to decrement the episodes by 2\n",
+ " - \x1b[33m`macli episodes -s -2 <anime-name>`\x1b[0m to decrement the episodes by 2\n" +
+ " - \x1b[33m`macli episodes <anime-name> -S 1`\x1b[0m automatically selects the first search result\n",
Run: func(cmd *cobra.Command, args []string) {
conf, err := util.BindSearchConfig(cmd.Flags())
if err != nil {
@@ -52,7 +53,7 @@ var episodesCmd = &cobra.Command{
mal.SearchNSFW = conf.SearchNSFW
mal.AutoSel = conf.AutoSel
ui.PromptLength = conf.PromptLength
- mal.Init()
+ mal.Init()
var selectedAnime a.Anime
if entryId > 0 {