From 586e7d7d81a1ddfe6e2a713ecda9fad3a269a5fc Mon Sep 17 00:00:00 2001 From: mj Date: Wed, 13 Nov 2024 19:01:16 -0500 Subject: [PATCH] add other query --- x/confidentialtransfers/client/cli/query.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x/confidentialtransfers/client/cli/query.go b/x/confidentialtransfers/client/cli/query.go index be2abdfffa..9d81b9da1c 100644 --- a/x/confidentialtransfers/client/cli/query.go +++ b/x/confidentialtransfers/client/cli/query.go @@ -19,6 +19,7 @@ func GetQueryCmd() *cobra.Command { confidentialTransfersQueryCmd.AddCommand( GetCmdQueryAccount(), + GetCmdQueryAllAccount(), ) return confidentialTransfersQueryCmd @@ -58,7 +59,7 @@ func GetCmdQueryAccount() *cobra.Command { // GetCmdQueryAccount implements a command to return an account asssociated with the address and denom func GetCmdQueryAllAccount() *cobra.Command { cmd := &cobra.Command{ - Use: "account [address]", + Use: "accounts [address]", Short: "Query all the confidential token accounts associated with the address", Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error {