Merge PR #6013: add cmd validation to ibc query cli cmd

This commit is contained in:
colin axner
2020-04-16 19:36:13 -04:00
committed by GitHub
parent be6aefd230
commit 7bfb709d96
+2
View File
@@ -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(