net-diag -> diag net

This commit is contained in:
Brian Tiger Chow 2014-11-07 19:23:46 -08:00 committed by Juan Batiz-Benet
parent 2720c4f1c6
commit 7046ff0e57
2 changed files with 8 additions and 2 deletions

View File

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

View File

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