1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-30 18:13:54 +08:00

docs(net-diag) help + name

@jbenet @whyrusleeping

Docs read net-diag. It seems the command was previously registered as
diag. Which do you prefer?
This commit is contained in:
Brian Tiger Chow
2014-11-07 18:32:53 -08:00
committed by Juan Batiz-Benet
parent 1c7ef8926d
commit 48d65c6d95
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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,