From cafb2f4d4eb2edf1e4cc9c96ef124b52be54f036 Mon Sep 17 00:00:00 2001 From: Amaury M <1293565+amaurym@users.noreply.github.com> Date: Mon, 16 Aug 2021 11:26:53 +0200 Subject: [PATCH 1/2] fix: Fix CLI query tx docs for acc/seq --- x/auth/client/cli/query.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x/auth/client/cli/query.go b/x/auth/client/cli/query.go index f76f64d1058a..9ce77c912de2 100644 --- a/x/auth/client/cli/query.go +++ b/x/auth/client/cli/query.go @@ -246,12 +246,12 @@ $ %s query txs --%s 'message.sender=cosmos1...&message.action=withdraw_delegator func QueryTxCmd() *cobra.Command { cmd := &cobra.Command{ Use: "tx --type=[hash|acc_seq|signature] [hash|acc_seq|signature]", - Short: "Query for a transaction by hash, addr++seq combination or signature in a committed block", + Short: "Query for a transaction by hash, \"/seq\" combination or comma-separated signatures in a committed block", Long: strings.TrimSpace(fmt.Sprintf(` Example: $ %s query tx -$ %s query tx --%s=%s : -$ %s query tx --%s=%s +$ %s query tx --%s=%s / +$ %s query tx --%s=%s , `, version.AppName, version.AppName, flagType, typeAccSeq, From 7c2bc6d69d1851de9412ee12396c90eac8717ae7 Mon Sep 17 00:00:00 2001 From: Amaury <1293565+amaurym@users.noreply.github.com> Date: Tue, 17 Aug 2021 10:41:34 +0200 Subject: [PATCH 2/2] Update x/auth/client/cli/query.go Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com> --- x/auth/client/cli/query.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/auth/client/cli/query.go b/x/auth/client/cli/query.go index 9ce77c912de2..08b4a3d1e960 100644 --- a/x/auth/client/cli/query.go +++ b/x/auth/client/cli/query.go @@ -246,7 +246,7 @@ $ %s query txs --%s 'message.sender=cosmos1...&message.action=withdraw_delegator func QueryTxCmd() *cobra.Command { cmd := &cobra.Command{ Use: "tx --type=[hash|acc_seq|signature] [hash|acc_seq|signature]", - Short: "Query for a transaction by hash, \"/seq\" combination or comma-separated signatures in a committed block", + Short: "Query for a transaction by hash, \"/\" combination or comma-separated signatures in a committed block", Long: strings.TrimSpace(fmt.Sprintf(` Example: $ %s query tx