diff --git a/util/autoport/log_maker.go b/util/autoport/log_maker.go index 15bd51ce3b..a62f8f6ea8 100644 --- a/util/autoport/log_maker.go +++ b/util/autoport/log_maker.go @@ -51,7 +51,8 @@ const MAXPROMPTRETRY = 3 func PromptUser(prompt string, opts []string) (match string, err error) { for i := 1; i < MAXPROMPTRETRY; i++ { - fmt.Println("%s. (%s) Default:%s", prompt, strings.Join(opts, "/"), opts[0]) + fmt.Printf("%s. (%s) Default:%s\n", prompt, + strings.Join(opts, "/"), opts[0]) var usrInput string fmt.Scanln(&usrInput)