From 3a25eb3ba1ace461e37dee04e17e00b7c73e5e32 Mon Sep 17 00:00:00 2001 From: tarumi Date: Wed, 13 Sep 2023 10:03:10 +0200 Subject: [PATCH] rename commands name --- x/registry/client/cli/tx_register_second_level_domain.go | 4 ++-- x/registry/client/cli/tx_register_top_level_domain.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/x/registry/client/cli/tx_register_second_level_domain.go b/x/registry/client/cli/tx_register_second_level_domain.go index d8935735..8ebbbed9 100644 --- a/x/registry/client/cli/tx_register_second_level_domain.go +++ b/x/registry/client/cli/tx_register_second_level_domain.go @@ -15,8 +15,8 @@ var _ = strconv.Itoa(0) func CmdRegisterDomain() *cobra.Command { cmd := &cobra.Command{ - Use: "register-domain [name] [parent] [registration-period-in-year]", - Short: "Broadcast message registerDomain", + Use: "register-second-level-domain [name] [parent] [registration-period-in-year]", + Short: "Broadcast message registerSecondLevelDomain", Args: cobra.ExactArgs(3), RunE: func(cmd *cobra.Command, args []string) (err error) { argName := args[0] diff --git a/x/registry/client/cli/tx_register_top_level_domain.go b/x/registry/client/cli/tx_register_top_level_domain.go index 99329df2..29832b6e 100644 --- a/x/registry/client/cli/tx_register_top_level_domain.go +++ b/x/registry/client/cli/tx_register_top_level_domain.go @@ -15,7 +15,7 @@ var _ = strconv.Itoa(0) func CmdRegisterTopLevelDomain() *cobra.Command { cmd := &cobra.Command{ - Use: "register-top-level-domain", + Use: "register-top-level-domain [name] [registration-period-in-year]", Short: "Broadcast message registerTopLevelDomain", Args: cobra.ExactArgs(2), RunE: func(cmd *cobra.Command, args []string) (err error) {