diff --git a/cmd/kcl/commands/registry_login.go b/cmd/kcl/commands/registry_login.go index 5cad488..15dfed3 100644 --- a/cmd/kcl/commands/registry_login.go +++ b/cmd/kcl/commands/registry_login.go @@ -25,7 +25,7 @@ const ( // NewRegistryLoginCmd returns the registry login command. func NewRegistryLoginCmd(cli *client.KpmClient) *cobra.Command { cmd := &cobra.Command{ - Use: "init", + Use: "login", Short: "login to a registry", Long: registryLoginDesc, Example: registryLoginExample, diff --git a/cmd/kcl/commands/registry_logout.go b/cmd/kcl/commands/registry_logout.go index 1ab4e9c..f929904 100644 --- a/cmd/kcl/commands/registry_logout.go +++ b/cmd/kcl/commands/registry_logout.go @@ -18,7 +18,7 @@ const ( // NewRegistryLogoutCmd returns the registry logout command. func NewRegistryLogoutCmd(cli *client.KpmClient) *cobra.Command { cmd := &cobra.Command{ - Use: "init", + Use: "logout", Short: "logout from a registry", Long: registryLogoutDesc, Example: registryLogoutExample,