@cryptotaxi247 / kubo / commits / d3b1bb4e1

Formatted diag net comments

Also added default notice aboue plain text License: MIT Signed-off-by: Richard Littauer <richard.littauer@gmail.com>

Richard Littauer committed Feb 5, 2016 at 18:21 UTC d3b1bb4e10797659883f82478bef61bda6780b6a
1 file changed +4 -4
core/commands/diag.go
+4 -4
@@ -66,12 +66,12 @@ timeout. If the timeout is too small, some peers may not be reached.
66 The default timeout is 20 seconds.
67
68 The 'vis' option may be used to change the output format.
69 -four formats are supported:
70 - * plain text - easy to read
69 +Four formats are supported:
70 + * plain text - Easy to read. Default.
71 * d3 - json ready to be fed into d3view
72 * dot - graphviz format
73
74 -The d3 format will output a json object ready to be consumed by
74 +The 'd3' format will output a json object ready to be consumed by
75 the chord network viewer, available at the following hash:
76
77 /ipfs/QmbesKpGyQGd5jtJFUGEB1ByPjNFpukhnKZDnkfxUiKn38
@@ -87,7 +87,7 @@ that consume the dot format to generate graphs of the network.
87 },
88
89 Options: []cmds.Option{
90 - cmds.StringOption("vis", "Output vis. one of: "+strings.Join(visFmts, ", ")),
90 + cmds.StringOption("vis", "Output vis. One of: "+strings.Join(visFmts, ", ")),
91 },
92
93 Run: func(req cmds.Request, res cmds.Response) {