aboutsummaryrefslogtreecommitdiffstats
path: root/commands/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/user.go')
-rw-r--r--commands/user.go4
1 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