test flags after args.

This commit is contained in:
fiatjaf
2024-07-14 20:34:44 -03:00
parent 09ed2a040a
commit 813ab3b6ac
4 changed files with 22 additions and 3 deletions

1
req.go
View File

@@ -249,6 +249,7 @@ example:
if c.Bool("stream") {
fn = pool.SubMany
}
for ie := range fn(ctx, relayUrls, nostr.Filters{filter}) {
stdout(ie.Event)
}