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