renamed state subcommand to tendermint
This commit is contained in:
parent
744f78573e
commit
aa41cefb1e
|
@ -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),
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue