Skip to content

Commit

Permalink
Add flag to FlagKeyringBackend to QueryTxsByEventsCmd (#5957)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgimeno authored Apr 8, 2020
1 parent ed9f488 commit 8eb4808
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x/auth/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ $ %s query txs --%s 'message.sender=cosmos1...&message.action=withdraw_delegator
cmd.Flags().Bool(flags.FlagTrustNode, false, "Trust connected full node (don't verify proofs for responses)")
viper.BindPFlag(flags.FlagTrustNode, cmd.Flags().Lookup(flags.FlagTrustNode))

cmd.Flags().String(flags.FlagKeyringBackend, flags.DefaultKeyringBackend, "Select keyring's backend (os|file|kwallet|pass|test)")
viper.BindPFlag(flags.FlagKeyringBackend, cmd.Flags().Lookup(flags.FlagKeyringBackend))

cmd.Flags().String(flagEvents, "", fmt.Sprintf("list of transaction events in the form of %s", eventFormat))
cmd.Flags().Uint32(flags.FlagPage, rest.DefaultPage, "Query a specific page of paginated results")
cmd.Flags().Uint32(flags.FlagLimit, rest.DefaultLimit, "Query number of transactions results per page returned")
Expand Down

0 comments on commit 8eb4808

Please sign in to comment.