diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-07-04 22:18:49 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-07-04 22:18:49 +0530 |
commit | 2689541cbbba044153c33fb1b36d691514916139 (patch) | |
tree | c7274666127b8a038b885353c541c14f32dfa264 /cmd/status.go | |
parent | 2bb89f25599f48c4953801298c4f9ef8dee12246 (diff) |
added --id flag to search and episodes and chapters command
Diffstat (limited to 'cmd/status.go')
-rw-r--r-- | cmd/status.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/status.go b/cmd/status.go index ba5d047..1e80c7b 100644 --- a/cmd/status.go +++ b/cmd/status.go @@ -128,8 +128,7 @@ func setMangaStatus(statusInput, searchInput string) { ui.MangaStatusMenu(selectedManga) } else { resp := mal.SetMangaStatus(selectedManga.Id, statusInput) - fmt.Println(resp.Status) - fmt.Println(ui.CreateStatusUpdateConfirmationMessage(selectedManga.Title, resp.Status, selectedManga.MyListStatus.Status)) + fmt.Println(ui.CreateStatusUpdateConfirmationMessage(selectedManga.Title, selectedManga.MyListStatus.Status, resp.Status)) } } |