Commit 538dac15 authored by Brian Tiger Chow's avatar Brian Tiger Chow Committed by Juan Batiz-Benet

diag doc

parent 7046ff0e
...@@ -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
......
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