diff options
author | siddharth <s@ricketyspace.net> | 2021-11-29 17:38:38 -0500 |
---|---|---|
committer | siddharth <s@ricketyspace.net> | 2021-11-29 17:38:38 -0500 |
commit | d81ad6bb36528c4990f06f0498fbc490b7755535 (patch) | |
tree | cfaff6eb49b7db5ef5f63e8fff5be920d9f062b1 | |
parent | 4912d28b6cc14be1872105c30963fe5d7447db75 (diff) |
fern: update main
Display number of feeds yet to be processed.
-rw-r--r-- | fern.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -47,6 +47,12 @@ func main() { } // Wait for all feeds finish processing. for pState.FeedsProcessing > 0 { + fTxt := "feeds" + if pState.FeedsProcessing == 1 { + fTxt = "feed" + } + fmt.Printf("Waiting for %d %s to finish processing\n", + pState.FeedsProcessing, fTxt) fr := <-pState.FeedResultChan if fr.Err == nil { fmt.Printf("[%s]: %s\n", |