From 43b0b17d9a934f22a9a89de4cbd9c3fd97db1877 Mon Sep 17 00:00:00 2001 From: TUSF Date: Tue, 9 May 2017 05:04:50 -0500 Subject: [PATCH] Turns out, the Message will Marshal properly. License: MIT Signed-off-by: Jeremia Dominguez --- core/commands/pubsub.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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{