Skip to content

Commit

Permalink
Added quotes to swarm and ping descriptions
Browse files Browse the repository at this point in the history
Also fixes some grammar in pings.

See #2265 (comment)

License: MIT
Signed-off-by: Richard Littauer <[email protected]>
  • Loading branch information
RichardLitt committed Jan 30, 2016
1 parent eb9d072 commit ec0c3ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions core/commands/ping.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ var PingCmd = &cmds.Command{
Send pings to a peer using the routing system to discover its address
`,
ShortDescription: `
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-
'ipfs ping' is a tool to test sending data to other nodes. It finds nodes
via the routing system, sends pings, waits for pongs, and prints out round-
trip latency information.
`,
},
Expand Down
8 changes: 4 additions & 4 deletions core/commands/swarm.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ipfs swarm disconnect <address> - Close connection to a given address
ipfs swarm filters - Manipulate filters addresses
`,
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
ipfs peers in the internet.
`,
Expand All @@ -54,7 +54,7 @@ var swarmPeersCmd = &cmds.Command{
Helptext: cmds.HelpText{
Tagline: "List peers with open connections.",
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) {
Expand Down Expand Up @@ -92,7 +92,7 @@ var swarmAddrsCmd = &cmds.Command{
Helptext: cmds.HelpText{
Tagline: "List known addresses. Useful to debug.",
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{
Expand Down Expand Up @@ -155,7 +155,7 @@ var swarmAddrsLocalCmd = &cmds.Command{
Helptext: cmds.HelpText{
Tagline: "List local addresses.",
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{
Expand Down

0 comments on commit ec0c3ac

Please sign in to comment.