diff --git a/command/common.go b/command/common.go index a0cb37822..299ed030d 100644 --- a/command/common.go +++ b/command/common.go @@ -32,7 +32,11 @@ func getTitle(cmd *cobra.Command, cmdType string, matchCount int, totalMatchCoun title = "\nShowing %d of %s in %s" if (!limitSet && userSetFlagCounter > 0) || (userSetFlagCounter > 1) { - title += " that match your search\n\n" + matchStr := "match" + if totalMatchCount == 1 { + matchStr = "matches" + } + title += fmt.Sprintf(" that %s your search\n\n", matchStr) } else { title += "\n\n" }