1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Change "push -i" prompt text from "Y/n" to "y/N" to match reality (#2605)

This commit is contained in:
tomf
2023-10-25 05:30:13 +11:00
committed by GitHub
parent e859f535cd
commit b1b41c5fba

View File

@ -97,7 +97,7 @@ func (c ConsolePrinter) PrintReport(i int, correction *models.Correction) {
// PromptToRun prompts the user to see if they want to execute a correction.
func (c ConsolePrinter) PromptToRun() bool {
fmt.Fprint(c.Writer, "Run? (Y/n): ")
fmt.Fprint(c.Writer, "Run? (y/N): ")
txt, err := c.Reader.ReadString('\n')
run := true
if err != nil {