Skip to content

Commit

Permalink
Merge pull request #3909 from TUSF/doc/pubsub-end
Browse files Browse the repository at this point in the history
Adding documentation that PubSub Sub can be encoded.
  • Loading branch information
whyrusleeping committed May 15, 2017
2 parents 219b41b + 43b0b17 commit d698380
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions core/commands/pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,18 @@ This is an experimental feature. It is not intended in its current state
to be used in a production environment.
To use, the daemon must be run with '--enable-pubsub-experiment'.
`,
LongDescription: `
ipfs pubsub sub subscribes to messages on a given topic.
This is an experimental feature. It is not intended in its current state
to be used in a production environment.
To use, the daemon must be run with '--enable-pubsub-experiment'.
This command outputs data in the following encodings:
* "json"
(Specified by the "--encoding" or "--enc" flag)
`,
},
Arguments: []cmds.Argument{
Expand Down

0 comments on commit d698380

Please sign in to comment.