From 747e4795424c6f9112f0e64bcb434df42b2ba8c5 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 26 Nov 2022 14:30:11 +0530 Subject: fixed help messages, etc --- cmd/status.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'cmd/status.go') 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 `\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 status `\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 `\x1b[0m to specify status from command\n" + + " - \x1b[33m`macli status -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, " ") -- cgit v1.2.3