Skip to content

Commit d698380

Browse files
Merge pull request #3909 from TUSF/doc/pubsub-end
Adding documentation that PubSub Sub can be encoded.
2 parents 219b41b + 43b0b17 commit d698380

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

core/commands/pubsub.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,18 @@ This is an experimental feature. It is not intended in its current state
5151
to be used in a production environment.
5252
5353
To use, the daemon must be run with '--enable-pubsub-experiment'.
54+
`,
55+
LongDescription: `
56+
ipfs pubsub sub subscribes to messages on a given topic.
57+
58+
This is an experimental feature. It is not intended in its current state
59+
to be used in a production environment.
60+
61+
To use, the daemon must be run with '--enable-pubsub-experiment'.
62+
63+
This command outputs data in the following encodings:
64+
* "json"
65+
(Specified by the "--encoding" or "--enc" flag)
5466
`,
5567
},
5668
Arguments: []cmds.Argument{

0 commit comments

Comments
 (0)