From d3b1bb4e10797659883f82478bef61bda6780b6a Mon Sep 17 00:00:00 2001 From: Richard Littauer Date: Fri, 5 Feb 2016 18:21:48 -0500 Subject: [PATCH] Formatted diag net comments Also added default notice aboue plain text License: MIT Signed-off-by: Richard Littauer --- core/commands/diag.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/commands/diag.go b/core/commands/diag.go index ceee4a059..f3c2a32c6 100644 --- a/core/commands/diag.go +++ b/core/commands/diag.go @@ -66,12 +66,12 @@ timeout. If the timeout is too small, some peers may not be reached. The default timeout is 20 seconds. The 'vis' option may be used to change the output format. -four formats are supported: - * plain text - easy to read +Four formats are supported: + * plain text - Easy to read. Default. * d3 - json ready to be fed into d3view * dot - graphviz format -The d3 format will output a json object ready to be consumed by +The 'd3' format will output a json object ready to be consumed by the chord network viewer, available at the following hash: /ipfs/QmbesKpGyQGd5jtJFUGEB1ByPjNFpukhnKZDnkfxUiKn38 @@ -87,7 +87,7 @@ that consume the dot format to generate graphs of the network. }, Options: []cmds.Option{ - cmds.StringOption("vis", "Output vis. one of: "+strings.Join(visFmts, ", ")), + cmds.StringOption("vis", "Output vis. One of: "+strings.Join(visFmts, ", ")), }, Run: func(req cmds.Request, res cmds.Response) {