提交 0f7757c6 作者: Juan Batiz-Benet

subcmd2: added synopsis to bootstrap

上级 3b407c70
......@@ -21,7 +21,13 @@ var peerOptionDesc = "A peer to add to the bootstrap list (in the format '<multi
var bootstrapCmd = &cmds.Command{
Helptext: cmds.HelpText{
Tagline: "Show or edit the list of bootstrap peers",
ShortDescription: `Running 'ipfs bootstrap' with no arguments will run 'ipfs bootstrap list'.
Synopsis: `
ipfs bootstrap list - Show peers in the bootstrap list
ipfs bootstrap add <peer>... - Add peers to the bootstrap list
ipfs bootstrap remove <peer>... - Removes peers from the bootstrap list
`,
ShortDescription: `
Running 'ipfs bootstrap' with no arguments will run 'ipfs bootstrap list'.
` + bootstrapSecurityWarning,
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论