From d3951be451e7df5d889061716c94602ba6b1d71a Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 30 Jun 2022 18:19:33 +0530 Subject: added help message for episodes command --- cmd/episodes.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'cmd/episodes.go') diff --git a/cmd/episodes.go b/cmd/episodes.go index 5c8b6e0..eac501a 100644 --- a/cmd/episodes.go +++ b/cmd/episodes.go @@ -30,12 +30,14 @@ import ( // statusCmd represents the status command var episodesCmd = &cobra.Command{ Use: "episodes", - Short: "Set an anime/manga's status", - Long: "Set an anime's status\n" + + Short: "Set the number of episodes watched", + Long: "Set the number of episodes watched" + "\n" + "Example Usage:\n" + - " - \x1b[33m`macli status `\x1b[0m For interactive prompt (anime-name can be omitted)\n" + - " - \x1b[33m`macli status -s \x1b[34mwatching|plan_to_watch|dropped|on_hold|completed\x1b[33m `\x1b[0m to specify status from command\n", + " - \x1b[33m`macli episodes `\x1b[0m For interactive prompt (anime-name can be omitted)\n" + + " - \x1b[33m`macli episodes -s 4 `\x1b[0m to set the episodes to 4\n" + + " - \x1b[33m`macli episodes -s +1 `\x1b[0m to increment the episodes by 1\n" + + " - \x1b[33m`macli episodes -s -2 `\x1b[0m to decrement the episodes by 2\n", Run: func(cmd *cobra.Command, args []string) { searchInput := strings.Join(args, " ") if searchInput == "" { -- cgit v1.2.3