aboutsummaryrefslogtreecommitdiff
path: root/cmd/chapters.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/chapters.go
parent50f211800946318ff4e3c40c1fc497c149b0380d (diff)
fixed help messages, etc
Diffstat (limited to 'cmd/chapters.go')
-rw-r--r--cmd/chapters.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/cmd/chapters.go b/cmd/chapters.go
index 15e2169..d65d270 100644
--- a/cmd/chapters.go
+++ b/cmd/chapters.go
@@ -37,10 +37,11 @@ var chaptersCmd = &cobra.Command{
Long: "Set the number of chapters read" +
"\n" +
"Example Usage:\n" +
- " - \x1b[33m`macli chapters <anime-name>`\x1b[0m For interactive prompt (anime-name can be omitted)\n" +
- " - \x1b[33m`macli chapters -s 4 <anime-name>`\x1b[0m to set the chapters to 4\n" +
- " - \x1b[33m`macli chapters -s +1 <anime-name>`\x1b[0m to increment the chapters by 1\n" +
- " - \x1b[33m`macli chapters -s -2 <anime-name>`\x1b[0m to decrement the chapters by 2\n",
+ " - \x1b[33m`macli chapters <manga-name>`\x1b[0m For interactive prompt (anime-name can be omitted)\n" +
+ " - \x1b[33m`macli chapters -s 4 <manga-name>`\x1b[0m to set the chapters to 4\n" +
+ " - \x1b[33m`macli chapters -s +1 <manga-name>`\x1b[0m to increment the chapters by 1\n" +
+ " - \x1b[33m`macli chapters -s -2 <manga-name>`\x1b[0m to decrement the chapters by 2\n" +
+ " - \x1b[33m`macli chapters <manga-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 {