Commit 48d65c6d authored by Brian Tiger Chow's avatar Brian Tiger Chow Committed by Juan Batiz-Benet

docs(net-diag) help + name

@jbenet @whyrusleeping

Docs read net-diag. It seems the command was previously registered as
diag. Which do you prefer?
parent 1c7ef892
......@@ -28,6 +28,14 @@ type DiagnosticOutput struct {
}
var diagCmd = &cmds.Command{
// TODO UsageLine: "net-diag",
// TODO Short: "Generate a diagnostics report",
Help: `ipfs net-diag - 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
connected peers and latencies between them.
`,
Run: func(res cmds.Response, req cmds.Request) {
n := req.Context().Node
......
......@@ -62,7 +62,7 @@ var rootSubcommands = map[string]*cmds.Command{
"name": nameCmd,
"add": addCmd,
"log": logCmd,
"diag": diagCmd,
"net-diag": diagCmd,
"pin": pinCmd,
"unpin": unpinCmd,
"version": versionCmd,
......
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