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
7046ff0e
Commit
7046ff0e
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
net-diag -> diag net
parent
2720c4f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
core/commands2/diag.go
core/commands2/diag.go
+7
-1
core/commands2/root.go
core/commands2/root.go
+1
-1
No files found.
core/commands2/diag.go
View file @
7046ff0e
...
...
@@ -28,9 +28,15 @@ type DiagnosticOutput struct {
}
var
diagCmd
=
&
cmds
.
Command
{
Subcommands
:
map
[
string
]
*
cmds
.
Command
{
"net"
:
diagNetCmd
,
},
}
var
diagNetCmd
=
&
cmds
.
Command
{
// TODO UsageLine: "net-diag",
// TODO Short: "Generate a diagnostics report",
Help
:
`ipfs
net-
diag - Generate a diagnostics report.
Help
:
`ipfs diag
net
- Generate a diagnostics report.
Sends out a message to each node in the network recursively
requesting a listing of data about them including number of
...
...
core/commands2/root.go
View file @
7046ff0e
...
...
@@ -62,7 +62,7 @@ var rootSubcommands = map[string]*cmds.Command{
"name"
:
nameCmd
,
"add"
:
addCmd
,
"log"
:
logCmd
,
"
net-
diag"
:
diagCmd
,
"diag"
:
diagCmd
,
"pin"
:
pinCmd
,
"version"
:
versionCmd
,
"config"
:
configCmd
,
...
...
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