Skip to content

Commit

Permalink
pubsub multibase encoding (#8933)
Browse files Browse the repository at this point in the history
* pubsub multibase encoding

Adds clarification for pubsub multibase encoding over HTTP RPC for issue ipfs/ipfs-docs#1007

* Grammatical change

* Moved period

(cherry picked from commit 9a84a4f)
  • Loading branch information
TMoMoreau authored and guseggert committed Jun 8, 2022
1 parent 38c5dba commit a7048c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/commands/pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ TOPIC AND DATA ENCODING
`,
},
Arguments: []cmds.Argument{
cmds.StringArg("topic", true, false, "Name of topic to subscribe to."),
cmds.StringArg("topic", true, false, "Name of topic to subscribe to (multibase encoded when sent over HTTP RPC)."),
},
PreRun: urlArgsEncoder,
Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error {
Expand Down Expand Up @@ -170,7 +170,7 @@ HTTP RPC ENCODING
`,
},
Arguments: []cmds.Argument{
cmds.StringArg("topic", true, false, "Topic to publish to."),
cmds.StringArg("topic", true, false, "Topic to publish to (multibase encoded when sent over HTTP RPC)."),
cmds.FileArg("data", true, false, "The data to be published.").EnableStdin(),
},
PreRun: urlArgsEncoder,
Expand Down

0 comments on commit a7048c4

Please sign in to comment.