aboutsummaryrefslogtreecommitdiffstats
path: root/commands/show.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-10-07 18:27:23 +0200
committerMichael Muré <batolettre@gmail.com>2018-10-07 18:27:23 +0200
commit7cb7994cdae848053487d00c1730d1e865fb8623 (patch)
treebc9be185e81479d8d3e5b0fc636daea011a64e4c /commands/show.go
parent03202fed493539c8d1fdcad7254687f951d0ca4a (diff)
downloadgit-bug-7cb7994cdae848053487d00c1730d1e865fb8623.tar.gz
github: also pull users email
Diffstat (limited to 'commands/show.go')
-rw-r--r--commands/show.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/show.go b/commands/show.go
index b1b7b432..c061b69b 100644
--- a/commands/show.go
+++ b/commands/show.go
@@ -39,7 +39,7 @@ func runShowBug(cmd *cobra.Command, args []string) error {
)
fmt.Printf("%s opened this issue %s\n\n",
- colors.Magenta(firstComment.Author.Name),
+ colors.Magenta(firstComment.Author.DisplayName()),
firstComment.FormatTimeRel(),
)
@@ -59,7 +59,7 @@ func runShowBug(cmd *cobra.Command, args []string) error {
fmt.Printf("%s#%d %s <%s>\n\n",
indent,
i,
- comment.Author.Name,
+ comment.Author.DisplayName(),
comment.Author.Email,
)