From d67758bdbeb162adadb6b19954e8e22cf04ed388 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Fri, 30 Sep 2022 15:10:58 +0530 Subject: reading both flags and config for searching commands --- cmd/login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/login.go') diff --git a/cmd/login.go b/cmd/login.go index 7127c47..39bc7d4 100644 --- a/cmd/login.go +++ b/cmd/login.go @@ -64,5 +64,5 @@ func init() { rootCmd.AddCommand(loginCmd) loginCmd.Flags().StringP("authentication-token", "t", "", "MyAnimeList authentication token to use (overrides system keyring if any)") loginCmd.Flags().StringP("client-id", "c", "", "MyAnimeList Client ID") - loginCmd.Flags().StringP("store-client-id", "s", saveClientId, "Save Client ID to keyring (yes/no) (Default: yes)") + loginCmd.Flags().StringP("store-client-id", "s", "yes", "Save Client ID to keyring") } -- cgit v1.2.3