提交 7046ff0e 作者: Brian Tiger Chow 提交者: Juan Batiz-Benet

net-diag -> diag net

上级 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 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论