Merge PR #6013: add cmd validation to ibc query cli cmd
This commit is contained in:
parent
be6aefd230
commit
7bfb709d96
@ -3,6 +3,7 @@ package cli
|
||||
import (
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/client"
|
||||
"github.com/cosmos/cosmos-sdk/client/flags"
|
||||
"github.com/cosmos/cosmos-sdk/codec"
|
||||
)
|
||||
@ -14,6 +15,7 @@ func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command {
|
||||
Short: "IBC client query subcommands",
|
||||
DisableFlagParsing: true,
|
||||
SuggestionsMinimumDistance: 2,
|
||||
RunE: client.ValidateCmd,
|
||||
}
|
||||
|
||||
ics02ClientQueryCmd.AddCommand(flags.GetCommands(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user