Skip to content

Commit

Permalink
fix: Fix CLI query tx docs for acc/seq
Browse files Browse the repository at this point in the history
  • Loading branch information
amaury1093 committed Aug 16, 2021
1 parent 1dba673 commit cafb2f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x/auth/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, \"<addr>/seq\" combination or comma-separated signatures in a committed block",
Long: strings.TrimSpace(fmt.Sprintf(`
Example:
$ %s query tx <hash>
$ %s query tx --%s=%s <addr>:<sequence>
$ %s query tx --%s=%s <sig1_base64,sig2_base64...>
$ %s query tx --%s=%s <addr>/<sequence>
$ %s query tx --%s=%s <sig1_base64>,<sig2_base64...>
`,
version.AppName,
version.AppName, flagType, typeAccSeq,
Expand Down

0 comments on commit cafb2f4

Please sign in to comment.