mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-26 21:07:45 +08:00
net-diag -> diag net
This commit is contained in:
parent
2720c4f1c6
commit
7046ff0e57
@ -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
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user