Commit 7046ff0e authored by Brian Tiger Chow's avatar Brian Tiger Chow Committed by Juan Batiz-Benet

net-diag -> diag net

parent 2720c4f1
...@@ -28,9 +28,15 @@ type DiagnosticOutput struct { ...@@ -28,9 +28,15 @@ type DiagnosticOutput struct {
} }
var diagCmd = &cmds.Command{ var diagCmd = &cmds.Command{
Subcommands: map[string]*cmds.Command{
"net": diagNetCmd,
},
}
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 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 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
......
...@@ -62,7 +62,7 @@ var rootSubcommands = map[string]*cmds.Command{ ...@@ -62,7 +62,7 @@ var rootSubcommands = map[string]*cmds.Command{
"name": nameCmd, "name": nameCmd,
"add": addCmd, "add": addCmd,
"log": logCmd, "log": logCmd,
"net-diag": diagCmd, "diag": diagCmd,
"pin": pinCmd, "pin": pinCmd,
"version": versionCmd, "version": versionCmd,
"config": configCmd, "config": configCmd,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment