aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/bridge_pull.go2
-rw-r--r--commands/ls.go2
-rw-r--r--commands/show.go4
3 files changed, 4 insertions, 4 deletions
diff --git a/commands/bridge_pull.go b/commands/bridge_pull.go
index fc12d369..521f2d9c 100644
--- a/commands/bridge_pull.go
+++ b/commands/bridge_pull.go
@@ -19,7 +19,7 @@ func runBridgePull(cmd *cobra.Command, args []string) error {
if len(args) == 0 {
b, err = bridge.DefaultBridge(backend)
} else {
- b, err = bridge.NewBridgeFullName(backend, args[0])
+ b, err = bridge.NewBridgeFromFullName(backend, args[0])
}
if err != nil {
diff --git a/commands/ls.go b/commands/ls.go
index ad45eefa..1fababaa 100644
--- a/commands/ls.go
+++ b/commands/ls.go
@@ -59,7 +59,7 @@ func runLsBug(cmd *cobra.Command, args []string) error {
// truncate + pad if needed
titleFmt := fmt.Sprintf("%-50.50s", snapshot.Title)
- authorFmt := fmt.Sprintf("%-15.15s", author.Name)
+ authorFmt := fmt.Sprintf("%-15.15s", author.DisplayName())
fmt.Printf("%s %s\t%s\t%s\t%s\n",
colors.Cyan(b.HumanId()),
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,
)