diff options
author | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2022-06-15 00:39:23 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2022-06-15 00:39:23 +0530 |
commit | 5eb7a3cd41826fccdc432d049dd85a31b4b56073 (patch) | |
tree | c41cda8e9b4648991b85d44405397212612b2bc7 /cmd/search.go | |
parent | 028632de277704fe4576e732d4997daa70f25f60 (diff) |
added status command to directly set status for an anime
Diffstat (limited to 'cmd/search.go')
-rw-r--r-- | cmd/search.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/search.go b/cmd/search.go index 463b109..28be82c 100644 --- a/cmd/search.go +++ b/cmd/search.go @@ -27,7 +27,7 @@ import ( var searchCmd = &cobra.Command { Use: "search", - Short: "Search for an anime.", + Short: "Search for an anime/manga", Long: ` -- help/description to be added later `, @@ -54,9 +54,9 @@ func searchManga(searchInput string) { func searchAnime(searchInput string) { animeIsAdded := false if searchInput == "" { - searchInput = ui.TextInput("Search Anime:", "Search can't be blank.") + searchInput = ui.TextInput("Search Anime", "Search can't be blank.") } - anime := ui.AnimeSearch("Select Anime", searchInput) + anime := ui.AnimeSearch("Select Anime:", searchInput) if anime.MyListStatus.Status != "" { animeIsAdded = true } |