File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -283,6 +283,7 @@ func printEntry(entry *Entry, delim bool) error {
283
283
284
284
var err error
285
285
var settings * Settings
286
+ var customEntries []ExtendedEntry
286
287
287
288
err , settings = getOrCreateLocalConfig (APP )
288
289
@@ -316,7 +317,17 @@ func printEntry(entry *Entry, delim bool) error {
316
317
fmt .Printf ("Password: %s\n " , strings .Join (asterisks , "" ))
317
318
}
318
319
fmt .Printf ("Notes: %s\n " , entry .Notes )
320
+ // Query extended entries
321
+ customEntries = getExtendedEntries (entry )
322
+
323
+ if len (customEntries ) > 0 {
324
+ for _ , customEntry := range customEntries {
325
+ fmt .Printf ("%s: %s\n " , customEntry .FieldName , customEntry .FieldValue )
326
+ }
327
+ }
328
+
319
329
fmt .Printf ("Modified: %s\n " , entry .Timestamp .Format ("2006-06-02 15:04:05" ))
330
+
320
331
printDelim (settings .Delim , settings .Color )
321
332
322
333
// Reset
You can’t perform that action at this time.
0 commit comments