commands: fix a bad output in "bug comment"

Michael Muré created

Change summary

commands/comment.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

commands/comment.go 🔗

@@ -38,7 +38,7 @@ func commentsTextOutput(comments []bug.Comment) {
 			fmt.Println()
 		}
 
-		fmt.Printf("Author: %s\n", colors.Magenta(comment.Author))
+		fmt.Printf("Author: %s\n", colors.Magenta(comment.Author.DisplayName()))
 		fmt.Printf("Date: %s\n\n", comment.FormatTime())
 		fmt.Println(text.LeftPad(comment.Message, 4))
 	}