From 599139984e50d769bb97332ed5a327cf6d41ba37 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 30 Jun 2022 18:41:42 +0530 Subject: Bug Fix: error reading status flag --- cmd/status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/status.go') diff --git a/cmd/status.go b/cmd/status.go index 94e8d1d..662ebf2 100644 --- a/cmd/status.go +++ b/cmd/status.go @@ -39,7 +39,7 @@ var statusCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { searchInput := strings.Join(args, " ") - statusInput, err := cmd.Flags().GetString("status") + statusInput, err := cmd.Flags().GetString("set-value") if err != nil { fmt.Println("Error while reading status flag.", err.Error()) } -- cgit v1.2.3