Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
f3d754c8
Commit
f3d754c8
authored
Feb 08, 2016
by
Jeromy Johnson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2307 from ipfs/feature/diag-net-comments
Formatted diag net comments
parents
537cd483
d3b1bb4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
core/commands/diag.go
core/commands/diag.go
+4
-4
No files found.
core/commands/diag.go
View file @
f3d754c8
...
@@ -66,12 +66,12 @@ timeout. If the timeout is too small, some peers may not be reached.
...
@@ -66,12 +66,12 @@ timeout. If the timeout is too small, some peers may not be reached.
The default timeout is 20 seconds.
The default timeout is 20 seconds.
The 'vis' option may be used to change the output format.
The 'vis' option may be used to change the output format.
f
our formats are supported:
F
our formats are supported:
* plain text -
e
asy to read
* plain text -
E
asy to read
. Default.
* d3 - json ready to be fed into d3view
* d3 - json ready to be fed into d3view
* dot - graphviz format
* 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:
the chord network viewer, available at the following hash:
/ipfs/QmbesKpGyQGd5jtJFUGEB1ByPjNFpukhnKZDnkfxUiKn38
/ipfs/QmbesKpGyQGd5jtJFUGEB1ByPjNFpukhnKZDnkfxUiKn38
...
@@ -87,7 +87,7 @@ that consume the dot format to generate graphs of the network.
...
@@ -87,7 +87,7 @@ that consume the dot format to generate graphs of the network.
},
},
Options
:
[]
cmds
.
Option
{
Options
:
[]
cmds
.
Option
{
cmds
.
StringOption
(
"vis"
,
"Output vis.
o
ne of: "
+
strings
.
Join
(
visFmts
,
", "
)),
cmds
.
StringOption
(
"vis"
,
"Output vis.
O
ne of: "
+
strings
.
Join
(
visFmts
,
", "
)),
},
},
Run
:
func
(
req
cmds
.
Request
,
res
cmds
.
Response
)
{
Run
:
func
(
req
cmds
.
Request
,
res
cmds
.
Response
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment