aboutsummaryrefslogtreecommitdiffstats
path: root/commands/user_list.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/user_list.go')
-rw-r--r--commands/user_list.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/commands/user_list.go b/commands/user_list.go
index 19be7628..23ecea73 100644
--- a/commands/user_list.go
+++ b/commands/user_list.go
@@ -17,7 +17,12 @@ func runUserLs(cmd *cobra.Command, args []string) error {
defer backend.Close()
interrupt.RegisterCleaner(backend.Close)
- for _, i := range backend.AllIdentityExcerpt() {
+ for _, id := range backend.AllIdentityIds() {
+ i, err := backend.ResolveIdentityExcerpt(id)
+ if err != nil {
+ return err
+ }
+
fmt.Printf("%s %s\n",
colors.Cyan(i.HumanId()),
i.DisplayName(),