diff --git a/commands/user.go b/commands/user.go index c4208d418eb9a07c4010489e9fb214731ceba753..1218032110b499ca8d8afdbc8ecc80d62c371991 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 similarity index 100% rename from commands/user_list.go rename to commands/user_ls.go