aboutsummaryrefslogtreecommitdiffstats
path: root/commands/show.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/show.go')
-rw-r--r--commands/show.go11
1 files changed, 9 insertions, 2 deletions
diff --git a/commands/show.go b/commands/show.go
index a8414384..c5a043c7 100644
--- a/commands/show.go
+++ b/commands/show.go
@@ -9,8 +9,6 @@ import (
"strings"
)
-var line = strings.Repeat("-", 50)
-
func runShowBug(repo repository.Repo, args []string) error {
if len(args) > 1 {
return errors.New("Only showing one bug at a time is supported")
@@ -47,6 +45,15 @@ func runShowBug(repo repository.Repo, args []string) error {
firstComment.FormatTime(),
)
+ var labels = make([]string, len(snapshot.Labels))
+ for i := range snapshot.Labels {
+ labels[i] = string(snapshot.Labels[i])
+ }
+
+ fmt.Printf("labels: %s\n\n",
+ strings.Join(labels, ", "),
+ )
+
// Comments
indent := " "