提交 62ba5eb9 作者: Jeromy Johnson

Merge pull request #2270 from ipfs/feature/add-more-quotes

Added quotes to swarm and ping descriptions
...@@ -32,8 +32,8 @@ var PingCmd = &cmds.Command{ ...@@ -32,8 +32,8 @@ var PingCmd = &cmds.Command{
Send pings to a peer using the routing system to discover its address Send pings to a peer using the routing system to discover its address
`, `,
ShortDescription: ` ShortDescription: `
ipfs ping is a tool to test sending data to other nodes. It finds nodes 'ipfs ping' is a tool to test sending data to other nodes. It finds nodes
via the routing system, send pings, wait for pongs, and print out round- via the routing system, sends pings, waits for pongs, and prints out round-
trip latency information. trip latency information.
`, `,
}, },
......
...@@ -36,7 +36,7 @@ ipfs swarm disconnect <address> - Close connection to a given address ...@@ -36,7 +36,7 @@ ipfs swarm disconnect <address> - Close connection to a given address
ipfs swarm filters - Manipulate filters addresses ipfs swarm filters - Manipulate filters addresses
`, `,
ShortDescription: ` ShortDescription: `
ipfs swarm is a tool to manipulate the network swarm. The swarm is the 'ipfs swarm' is a tool to manipulate the network swarm. The swarm is the
component that opens, listens for, and maintains connections to other component that opens, listens for, and maintains connections to other
ipfs peers in the internet. ipfs peers in the internet.
`, `,
...@@ -54,7 +54,7 @@ var swarmPeersCmd = &cmds.Command{ ...@@ -54,7 +54,7 @@ var swarmPeersCmd = &cmds.Command{
Helptext: cmds.HelpText{ Helptext: cmds.HelpText{
Tagline: "List peers with open connections.", Tagline: "List peers with open connections.",
ShortDescription: ` ShortDescription: `
ipfs swarm peers lists the set of peers this node is connected to. 'ipfs swarm peers' lists the set of peers this node is connected to.
`, `,
}, },
Run: func(req cmds.Request, res cmds.Response) { Run: func(req cmds.Request, res cmds.Response) {
...@@ -92,7 +92,7 @@ var swarmAddrsCmd = &cmds.Command{ ...@@ -92,7 +92,7 @@ var swarmAddrsCmd = &cmds.Command{
Helptext: cmds.HelpText{ Helptext: cmds.HelpText{
Tagline: "List known addresses. Useful to debug.", Tagline: "List known addresses. Useful to debug.",
ShortDescription: ` ShortDescription: `
ipfs swarm addrs lists all addresses this node is aware of. 'ipfs swarm addrs' lists all addresses this node is aware of.
`, `,
}, },
Subcommands: map[string]*cmds.Command{ Subcommands: map[string]*cmds.Command{
...@@ -155,7 +155,7 @@ var swarmAddrsLocalCmd = &cmds.Command{ ...@@ -155,7 +155,7 @@ var swarmAddrsLocalCmd = &cmds.Command{
Helptext: cmds.HelpText{ Helptext: cmds.HelpText{
Tagline: "List local addresses.", Tagline: "List local addresses.",
ShortDescription: ` ShortDescription: `
ipfs swarm addrs local lists all local addresses the node is listening on. 'ipfs swarm addrs local' lists all local addresses the node is listening on.
`, `,
}, },
Options: []cmds.Option{ Options: []cmds.Option{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论