diff options
Diffstat (limited to 'console/prompter.go')
-rw-r--r-- | console/prompter.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/console/prompter.go b/console/prompter.go index 29a53aead..65675061a 100644 --- a/console/prompter.go +++ b/console/prompter.go @@ -142,7 +142,7 @@ func (p *terminalPrompter) PromptPassword(prompt string) (passwd string, err err // PromptConfirm displays the given prompt to the user and requests a boolean // choice to be made, returning that choice. func (p *terminalPrompter) PromptConfirm(prompt string) (bool, error) { - input, err := p.Prompt(prompt + " [y/N] ") + input, err := p.Prompt(prompt + " [y/n] ") if len(input) > 0 && strings.ToUpper(input[:1]) == "Y" { return true, nil } |