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
538dac15
Commit
538dac15
authored
Nov 07, 2014
by
Brian Tiger Chow
Committed by
Juan Batiz-Benet
Nov 14, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
diag doc
parent
7046ff0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
core/commands2/diag.go
core/commands2/diag.go
+5
-1
No files found.
core/commands2/diag.go
View file @
538dac15
...
@@ -28,6 +28,10 @@ type DiagnosticOutput struct {
...
@@ -28,6 +28,10 @@ type DiagnosticOutput struct {
}
}
var
diagCmd
=
&
cmds
.
Command
{
var
diagCmd
=
&
cmds
.
Command
{
Help
:
`ipfs diag - Generate diagnostic reports.
ipfs diag net - Generate a network diagnostic report.
`
,
Subcommands
:
map
[
string
]
*
cmds
.
Command
{
Subcommands
:
map
[
string
]
*
cmds
.
Command
{
"net"
:
diagNetCmd
,
"net"
:
diagNetCmd
,
},
},
...
@@ -36,7 +40,7 @@ var diagCmd = &cmds.Command{
...
@@ -36,7 +40,7 @@ var diagCmd = &cmds.Command{
var
diagNetCmd
=
&
cmds
.
Command
{
var
diagNetCmd
=
&
cmds
.
Command
{
// TODO UsageLine: "net-diag",
// TODO UsageLine: "net-diag",
// TODO Short: "Generate a diagnostics report",
// TODO Short: "Generate a diagnostics report",
Help
:
`ipfs diag net - Generate a diagnostics report.
Help
:
`ipfs diag net - Generate a
network
diagnostics report.
Sends out a message to each node in the network recursively
Sends out a message to each node in the network recursively
requesting a listing of data about them including number of
requesting a listing of data about them including number of
...
...
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