Skip to content

Commit

Permalink
fix: kcl registry command
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Nov 14, 2023
1 parent 63c8f51 commit 43fffc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/kcl/commands/registry_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion cmd/kcl/commands/registry_logout.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 43fffc8

Please sign in to comment.