aboutsummaryrefslogtreecommitdiff
path: root/cmd/status.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/status.go')
-rw-r--r--cmd/status.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/cmd/status.go b/cmd/status.go
index 0c92249..6b63def 100644
--- a/cmd/status.go
+++ b/cmd/status.go
@@ -38,8 +38,9 @@ var statusCmd = &cobra.Command{
Long: "Set an anime's status\n" +
"\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 status <anime-name>`\x1b[0m For interactive prompt (anime-name can be omitted, use \x1b[33m-m\x1b[0m switch for manga)\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 status <anime-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 {
@@ -51,7 +52,7 @@ var statusCmd = &cobra.Command{
mal.AutoSel = conf.AutoSel
mal.SearchNSFW = conf.SearchNSFW
ui.PromptLength = conf.PromptLength
- mal.Init()
+ mal.Init()
searchInput := strings.Join(args, " ")