@cryptotaxi247 / kubo / commits / ec0c3ac3b

Added quotes to swarm and ping descriptions

Also fixes some grammar in pings. See https://github.com/ipfs/go-ipfs/pull/2265#issuecomment-177062200 License: MIT Signed-off-by: Richard Littauer <richard.littauer@gmail.com>

Richard Littauer committed Jan 30, 2016 at 11:33 UTC ec0c3ac3b819a06ec586791fa989930da609ef00
2 files changed +6 -6
core/commands/ping.go
+2 -2
@@ -32,8 +32,8 @@ var PingCmd = &cmds.Command{
32 Send pings to a peer using the routing system to discover its address
33 `,
34 ShortDescription: `
35 -ipfs ping is a tool to test sending data to other nodes. It finds nodes
36 -via the routing system, send pings, wait for pongs, and print out round-
35 +'ipfs ping' is a tool to test sending data to other nodes. It finds nodes
36 +via the routing system, sends pings, waits for pongs, and prints out round-
37 trip latency information.
38 `,
39 },
core/commands/swarm.go
+4 -4
@@ -36,7 +36,7 @@ ipfs swarm disconnect <address> - Close connection to a given address
36 ipfs swarm filters - Manipulate filters addresses
37 `,
38 ShortDescription: `
39 -ipfs swarm is a tool to manipulate the network swarm. The swarm is the
39 +'ipfs swarm' is a tool to manipulate the network swarm. The swarm is the
40 component that opens, listens for, and maintains connections to other
41 ipfs peers in the internet.
42 `,
@@ -54,7 +54,7 @@ var swarmPeersCmd = &cmds.Command{
54 Helptext: cmds.HelpText{
55 Tagline: "List peers with open connections.",
56 ShortDescription: `
57 -ipfs swarm peers lists the set of peers this node is connected to.
57 +'ipfs swarm peers' lists the set of peers this node is connected to.
58 `,
59 },
60 Run: func(req cmds.Request, res cmds.Response) {
@@ -92,7 +92,7 @@ var swarmAddrsCmd = &cmds.Command{
92 Helptext: cmds.HelpText{
93 Tagline: "List known addresses. Useful to debug.",
94 ShortDescription: `
95 -ipfs swarm addrs lists all addresses this node is aware of.
95 +'ipfs swarm addrs' lists all addresses this node is aware of.
96 `,
97 },
98 Subcommands: map[string]*cmds.Command{
@@ -155,7 +155,7 @@ var swarmAddrsLocalCmd = &cmds.Command{
155 Helptext: cmds.HelpText{
156 Tagline: "List local addresses.",
157 ShortDescription: `
158 -ipfs swarm addrs local lists all local addresses the node is listening on.
158 +'ipfs swarm addrs local' lists all local addresses the node is listening on.
159 `,
160 },
161 Options: []cmds.Option{