diff options
Diffstat (limited to 'commands')
-rw-r--r-- | commands/user.go | 4 | ||||
-rw-r--r-- | commands/user_ls.go (renamed from commands/user_list.go) | 0 |
2 files changed, 4 insertions, 0 deletions
diff --git a/commands/user.go b/commands/user.go index c4208d41..12180321 100644 --- a/commands/user.go +++ b/commands/user.go @@ -39,6 +39,10 @@ func runUser(cmd *cobra.Command, args []string) error { fmt.Printf("Last modification: %s (lamport %d)\n", id.LastModification().Time().Format("Mon Jan 2 15:04:05 2006 +0200"), id.LastModificationLamport()) + fmt.Println("Metadata:") + for key, value := range id.ImmutableMetadata() { + fmt.Printf(" %s --> %s\n", key, value) + } // fmt.Printf("Protected: %v\n", id.IsProtected()) return nil diff --git a/commands/user_list.go b/commands/user_ls.go index 23ecea73..23ecea73 100644 --- a/commands/user_list.go +++ b/commands/user_ls.go |