提交 a4488cab 作者: Juan Batiz-Benet

cmds: root help inc synopsis

上级 7d448d9d
...@@ -14,7 +14,10 @@ type TestOutput struct { ...@@ -14,7 +14,10 @@ type TestOutput struct {
var Root = &cmds.Command{ var Root = &cmds.Command{
Helptext: cmds.HelpText{ Helptext: cmds.HelpText{
Tagline: "Global P2P Merkle-DAG filesystem", Tagline: "global p2p merkle-dag filesystem",
Synopsis: `
ipfs [<flags>] <command> [<arg>] ...
`,
ShortDescription: ` ShortDescription: `
Basic commands: Basic commands:
...@@ -32,6 +35,7 @@ Tool commands: ...@@ -32,6 +35,7 @@ Tool commands:
Advanced Commands: Advanced Commands:
daemon Start a long-running daemon process
mount Mount an ipfs read-only mountpoint mount Mount an ipfs read-only mountpoint
serve Serve an interface to ipfs serve Serve an interface to ipfs
diag Print diagnostics diag Print diagnostics
...@@ -40,6 +44,8 @@ Plumbing commands: ...@@ -40,6 +44,8 @@ Plumbing commands:
block Interact with raw blocks in the datastore block Interact with raw blocks in the datastore
object Interact with raw dag nodes object Interact with raw dag nodes
Use 'ipfs <command> --help' to learn more about each command.
`, `,
}, },
Options: []cmds.Option{ Options: []cmds.Option{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论