From 3c5985245f2d96a2dfe919b78943319b6a88be5a Mon Sep 17 00:00:00 2001 From: alessio Date: Sat, 1 Apr 2017 19:10:45 +0200 Subject: [PATCH] questions fixed --- realize.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/realize.go b/realize.go index 34ce4f3..1b5aabe 100644 --- a/realize.go +++ b/realize.go @@ -228,7 +228,7 @@ func main() { }, Quest: i.Quest{ Options: r.Yellow.Regular("[y/n]"), - Msg: "Would you want to customize the " + r.Colors.Magenta.Bold("settings") + " ?", + Msg: "Would you want to customize the " + r.Colors.Magenta.Bold("settings") + "?", Resolve: func(d i.Context) bool { val, _ := d.Ans().Bool() return val @@ -263,7 +263,6 @@ func main() { Msg: "Enable legacy watch by polling", Resolve: func(d i.Context) bool { val, _ := d.Ans().Bool() - fmt.Println(val) return val }, }, @@ -274,7 +273,7 @@ func main() { return nil }, Quest: i.Quest{ - Options: r.Yellow.Regular("[int]"), + Options: r.Yellow.Regular("[seconds]"), Msg: "Set polling interval in seconds", }, Action: func(d i.Context) interface{} { @@ -856,7 +855,7 @@ func main() { }, }) handle(r.Record(r)) - fmt.Println(r.Yellow.Bold("[")+"REALIZE"+r.Yellow.Bold("]"), r.Green.Bold("Your project was successfully added.")) + fmt.Println(r.Yellow.Bold("[")+"REALIZE"+r.Yellow.Bold("]"), r.Green.Bold("Your configuration was successful.")) return nil }, Before: func(c *cli.Context) error {