diff options
author | Michael Muré <batolettre@gmail.com> | 2019-03-28 01:01:59 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-03-28 01:02:12 +0100 |
commit | 029861fa0ee99845dfdc3c0e38748608109233ed (patch) | |
tree | fe14860bf55711e79ad39925d74409ef82248056 | |
parent | bdf8523dc0d8cbd9f29e62fa8605b5bd5292828e (diff) | |
download | git-bug-029861fa0ee99845dfdc3c0e38748608109233ed.tar.gz |
commands: fix a bad output in "bug comment"
-rw-r--r-- | commands/comment.go | 2 |
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)) } |