Skip to content

Commit

Permalink
Fixes missing space in describe help text and updates link to survey
Browse files Browse the repository at this point in the history
  • Loading branch information
bvobart committed Aug 3, 2021
1 parent 7fd388a commit 15623de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion commands/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions commands/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})
}

0 comments on commit 15623de

Please sign in to comment.