mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-09-12 08:04:28 +08:00
Change "push -i" prompt text from "Y/n" to "y/N" to match reality (#2605)
This commit is contained in:
parent
e859f535cd
commit
b1b41c5fba
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
// PromptToRun prompts the user to see if they want to execute a correction.
|
||||||
func (c ConsolePrinter) PromptToRun() bool {
|
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')
|
txt, err := c.Reader.ReadString('\n')
|
||||||
run := true
|
run := true
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue