Skip to content

Commit

Permalink
docs(pubsub): copy
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Oct 8, 2024
1 parent db5c0a4 commit 7b10aff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pubsub/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ func WishMiddleware(handler *CliHandler) wish.Middleware {
if cmd == "pub" {
pubCmd := flagSet("pub", sesh)
empty := pubCmd.Bool("e", false, "Send an empty message to subs")
public := pubCmd.Bool("p", false, "Anyone can sub to this topic")
public := pubCmd.Bool("p", false, "Publish message to public topic")
block := pubCmd.Bool("b", true, "Block writes until a subscriber is available")
timeout := pubCmd.Duration("t", 30*24*time.Hour, "Timeout as a Go duration to block for a subscriber to be available. Valid time units are 'ns', 'us' (or 'µs'), 'ms', 's', 'm', 'h'. Default is 30 days.")
if !flagCheck(pubCmd, topic, cmdArgs) {
Expand Down
2 changes: 1 addition & 1 deletion pubsub/html/marketing.page.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<li>Public pubsub by topic (opt-in)</li>
<li>Multicast (many pubs to many subs)</li>
<li>Bidirectional (e.g. chat)</li>
<li>Configurable blocking for both pubs and subs</li>
<li>Configurable blocking characteristics for pubs</li>
<li>Paradigms for connecting to a topic:
<ol>
<li>Read (<code>sub</code>)</li>
Expand Down

0 comments on commit 7b10aff

Please sign in to comment.