From 995df0f8fab6017a9c3eb11179d695c2125cf8b4 Mon Sep 17 00:00:00 2001 From: Max Jonas Werner Date: Tue, 2 Nov 2021 14:46:15 +0100 Subject: [PATCH] fix: improve wording Signed-off-by: Max Jonas Werner --- cmd/flux/bootstrap_github.go | 2 +- cmd/flux/bootstrap_gitlab.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/flux/bootstrap_github.go b/cmd/flux/bootstrap_github.go index 34f60f6d..162a85bc 100644 --- a/cmd/flux/bootstrap_github.go +++ b/cmd/flux/bootstrap_github.go @@ -112,7 +112,7 @@ func bootstrapGitHubCmdRun(cmd *cobra.Command, args []string) error { ghToken := os.Getenv(ghTokenEnvVar) if ghToken == "" { var err error - ghToken, err = readPasswordFromStdin("Please type your GitHub personal access token: ") + ghToken, err = readPasswordFromStdin("Please enter your GitHub personal access token (PAT): ") if err != nil { return fmt.Errorf("could not read token: %w", err) } diff --git a/cmd/flux/bootstrap_gitlab.go b/cmd/flux/bootstrap_gitlab.go index 24baa03a..77557ea0 100644 --- a/cmd/flux/bootstrap_gitlab.go +++ b/cmd/flux/bootstrap_gitlab.go @@ -109,7 +109,7 @@ func bootstrapGitLabCmdRun(cmd *cobra.Command, args []string) error { glToken := os.Getenv(glTokenEnvVar) if glToken == "" { var err error - glToken, err = readPasswordFromStdin("Please type your GitLab personal access token: ") + glToken, err = readPasswordFromStdin("Please enter your GitLab personal access token (PAT): ") if err != nil { return fmt.Errorf("could not read token: %w", err) }