Skip to content

Commit

Permalink
feat: Also show entry ID when listing via 'feed list-entries'
Browse files Browse the repository at this point in the history
  • Loading branch information
bow committed Oct 11, 2023
1 parent 005e7fc commit dbb61c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/feed_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func fmtFeed(feed *store.Feed) string {
kv := []*struct {
k, v string
}{
{"ID", fmt.Sprintf("%d", feed.DBID)},
{"FeedID", fmt.Sprintf("%d", feed.DBID)},
{"Updated", upds},
{"Unread", fmt.Sprintf("%d/%d", ntotal-nread, ntotal)},
{"URL", feed.SiteURL.String},
Expand Down
1 change: 1 addition & 0 deletions cmd/feed_list_entries.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ func fmtEntry(entry *store.Entry) string {
kv := []*struct {
k, v string
}{
{"EntryID", fmt.Sprintf("%d", entry.DBID)},
{"URL", entry.URL.String},
{"Pub", pubs},
}
Expand Down

0 comments on commit dbb61c9

Please sign in to comment.