Skip to content

Commit 644db45

Browse files
authored
chore: better copy when authenticating a project with same name (#630)
1 parent 4fb03f7 commit 644db45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/lk/cloud.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,8 @@ func tryAuthIfNeeded(ctx context.Context, cmd *cli.Command) error {
333333
}
334334
if cliConfig.ProjectExists(name) {
335335
if err := huh.NewInput().
336-
Title("Project name already exists, please choose a different name").
336+
Title("Choose a different alias").
337+
Description(fmt.Sprintf("You've already configured a project with the alias %q.", name)).
337338
Value(&name).
338339
Validate(func(s string) error {
339340
if cliConfig.ProjectExists(s) {

0 commit comments

Comments
 (0)