Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
rename commands name
Browse files Browse the repository at this point in the history
  • Loading branch information
taryune committed Sep 13, 2023
1 parent cf45054 commit 3a25eb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions x/registry/client/cli/tx_register_second_level_domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion x/registry/client/cli/tx_register_top_level_domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3a25eb3

Please sign in to comment.