diff --git a/core/commands/pubsub.go b/core/commands/pubsub.go index a5ff2b906c1..2e8b2566e23 100644 --- a/core/commands/pubsub.go +++ b/core/commands/pubsub.go @@ -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{