Skip to content

Commit ec0c3ac

Browse files
committedJan 30, 2016
Added quotes to swarm and ping descriptions
Also fixes some grammar in pings. See #2265 (comment) License: MIT Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
1 parent eb9d072 commit ec0c3ac

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
 

‎core/commands/ping.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ var PingCmd = &cmds.Command{
3232
Send pings to a peer using the routing system to discover its address
3333
`,
3434
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-
3737
trip latency information.
3838
`,
3939
},

‎core/commands/swarm.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ipfs swarm disconnect <address> - Close connection to a given address
3636
ipfs swarm filters - Manipulate filters addresses
3737
`,
3838
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
4040
component that opens, listens for, and maintains connections to other
4141
ipfs peers in the internet.
4242
`,
@@ -54,7 +54,7 @@ var swarmPeersCmd = &cmds.Command{
5454
Helptext: cmds.HelpText{
5555
Tagline: "List peers with open connections.",
5656
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.
5858
`,
5959
},
6060
Run: func(req cmds.Request, res cmds.Response) {
@@ -92,7 +92,7 @@ var swarmAddrsCmd = &cmds.Command{
9292
Helptext: cmds.HelpText{
9393
Tagline: "List known addresses. Useful to debug.",
9494
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.
9696
`,
9797
},
9898
Subcommands: map[string]*cmds.Command{
@@ -155,7 +155,7 @@ var swarmAddrsLocalCmd = &cmds.Command{
155155
Helptext: cmds.HelpText{
156156
Tagline: "List local addresses.",
157157
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.
159159
`,
160160
},
161161
Options: []cmds.Option{

0 commit comments

Comments
 (0)
Please sign in to comment.