Skip to content

Commit

Permalink
rename command
Browse files Browse the repository at this point in the history
  • Loading branch information
crodriguezvega committed Aug 31, 2023
1 parent aaee1e3 commit 0bf6708
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions modules/core/02-client/client/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func NewTxCmd() *cobra.Command {
NewUpdateClientCmd(),
NewSubmitMisbehaviourCmd(), // Deprecated
NewUpgradeClientCmd(),
NewCmdSubmitRecoverClientProposal(),
)

return txCmd
Expand Down
6 changes: 3 additions & 3 deletions modules/core/02-client/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,10 @@ func NewUpgradeClientCmd() *cobra.Command {
return cmd
}

// NewCmdRecoverClientProposal defines the command to recover an IBC light client
func NewCmdRecoverClientProposal() *cobra.Command {
// NewCmdSubmitRecoverClientProposal defines the command to recover an IBC light client
func NewCmdSubmitRecoverClientProposal() *cobra.Command {
cmd := &cobra.Command{
Use: "recover [subject-client-id] [substitute-client-id] [flags]",
Use: "recover-client [subject-client-id] [substitute-client-id] [flags]",
Args: cobra.ExactArgs(2),
Short: "recover an IBC client",
Long: "Submit a recover IBC client proposal along with an initial deposit.\n" +
Expand Down

0 comments on commit 0bf6708

Please sign in to comment.