aboutsummaryrefslogtreecommitdiff
path: root/cmd/episodes.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-30 18:19:33 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-30 18:19:33 +0530
commitd3951be451e7df5d889061716c94602ba6b1d71a (patch)
treef22e68b8079ad2ffc59ddf802de224c9a247a435 /cmd/episodes.go
parent2c79256de81f06465092ad2a9b94da679e6ec95a (diff)
added help message for episodes command
Diffstat (limited to 'cmd/episodes.go')
-rw-r--r--cmd/episodes.go10
1 files changed, 6 insertions, 4 deletions
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 <anime-name>`\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 <anime-name>`\x1b[0m to specify status from command\n",
+ " - \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",
Run: func(cmd *cobra.Command, args []string) {
searchInput := strings.Join(args, " ")
if searchInput == "" {