From 15623de4d9ff6351e0e6cce86be553a36deb6b79 Mon Sep 17 00:00:00 2001 From: Bart van Oort Date: Tue, 3 Aug 2021 21:46:12 +0200 Subject: [PATCH] Fixes missing space in describe help text and updates link to survey --- commands/describe.go | 2 +- commands/run.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/describe.go b/commands/describe.go index 4524bdb..ca32233 100644 --- a/commands/describe.go +++ b/commands/describe.go @@ -18,7 +18,7 @@ import ( func NewDescribeCommand() *cobra.Command { cmd := &cobra.Command{ Use: "describe RULE...", - Short: "Describe an " + formatInlineCode("mllint") + "category or rule by its slug.", + Short: "Describe an " + formatInlineCode("mllint") + " category or rule by its slug.", Long: fmt.Sprintf(`Describe an %s category or rule by its slug. The slug is the lowercased, dashed reference string that every category and rule have. %s often displays these together. diff --git a/commands/run.go b/commands/run.go index 3cccc4d..249ceba 100644 --- a/commands/run.go +++ b/commands/run.go @@ -226,8 +226,8 @@ func printSurveyMessage() { shush(func() { fmt.Println("---") yellow.Print("Thank you for using ", code.Sprint("mllint"), yellow.Sprintln(", I'm very interested to know how your experiences have been! 😊")) - yellow.Print("It would be of great help to me, ", code.Sprint("mllint"), yellow.Sprintln(" and particularly, my MSc thesis if you are able to spend 10 minutes of your time filling in this feedback survey for me:")) - yellow.Add(color.Italic).Println("➡️ https://forms.office.com/r/2xrZ7kXze2") + yellow.Print("It would be of great help to me, ", code.Sprint("mllint"), yellow.Sprint(" and, in particular, my ", code.Sprint("MSc thesis"), yellow.Sprintln(" if you are able to spend 15 minutes of your time filling in this feedback survey for me:"))) + yellow.Add(color.Italic).Println("➡️ https://forms.office.com/r/pXtfUKWUDA") fmt.Println() }) }