diff options
author | Michael Muré <batolettre@gmail.com> | 2019-03-28 01:21:41 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-03-28 01:21:41 +0100 |
commit | 0a71e6d269e60f844a2d08069ca5bdee9b91b388 (patch) | |
tree | 25afa74bdf5e3a394a398b5996fb0554306429d4 /commands/comment.go | |
parent | 029861fa0ee99845dfdc3c0e38748608109233ed (diff) | |
download | git-bug-0a71e6d269e60f844a2d08069ca5bdee9b91b388.tar.gz |
commands: display comment's id in "git bug comment"
Diffstat (limited to 'commands/comment.go')
-rw-r--r-- | commands/comment.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/comment.go b/commands/comment.go index 08751e27..cb9f3691 100644 --- a/commands/comment.go +++ b/commands/comment.go @@ -39,6 +39,7 @@ func commentsTextOutput(comments []bug.Comment) { } fmt.Printf("Author: %s\n", colors.Magenta(comment.Author.DisplayName())) + fmt.Printf("Id: %s\n", colors.Cyan(comment.HumanId())) fmt.Printf("Date: %s\n\n", comment.FormatTime()) fmt.Println(text.LeftPad(comment.Message, 4)) } |