renamed state subcommand to tendermint

This commit is contained in:
Jeremiah Andrews 2018-05-31 18:51:06 -07:00
parent 744f78573e
commit aa41cefb1e
1 changed files with 6 additions and 6 deletions

View File

@ -39,15 +39,15 @@ func main() {
rpc.AddCommands(rootCmd)
//Add state commands
stateCmd := &cobra.Command{
Use: "state",
Short: "State querying subcommands (validators, blocks, transactions)",
tendermintCmd := &cobra.Command{
Use: "tendermint",
Short: "Tendermint state querying subcommands",
}
stateCmd.AddCommand(
tendermintCmd.AddCommand(
rpc.BlockCommand(),
rpc.ValidatorCommand(),
)
tx.AddCommands(stateCmd, cdc)
tx.AddCommands(tendermintCmd, cdc)
//Add IBC commands
ibcCmd := &cobra.Command{
@ -66,7 +66,7 @@ func main() {
}
advancedCmd.AddCommand(
stateCmd,
tendermintCmd,
ibcCmd,
lcd.ServeCommand(cdc),
)