aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-03-28 01:01:59 +0100
committerMichael Muré <batolettre@gmail.com>2019-03-28 01:02:12 +0100
commit029861fa0ee99845dfdc3c0e38748608109233ed (patch)
treefe14860bf55711e79ad39925d74409ef82248056
parentbdf8523dc0d8cbd9f29e62fa8605b5bd5292828e (diff)
downloadgit-bug-029861fa0ee99845dfdc3c0e38748608109233ed.tar.gz
commands: fix a bad output in "bug comment"
-rw-r--r--commands/comment.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/comment.go b/commands/comment.go
index eff91208..08751e27 100644
--- a/commands/comment.go
+++ b/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))
}