From ab4b2804302694387ceec59046489665d0e680c5 Mon Sep 17 00:00:00 2001 From: Richard Littauer Date: Tue, 19 Apr 2016 12:17:33 -0400 Subject: [PATCH 1/2] Alphabetized swarm subcmds License: MIT Signed-off-by: Richard Littauer --- core/commands/swarm.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/commands/swarm.go b/core/commands/swarm.go index e42afc773..38faaf0ba 100644 --- a/core/commands/swarm.go +++ b/core/commands/swarm.go @@ -29,11 +29,11 @@ var SwarmCmd = &cmds.Command{ Helptext: cmds.HelpText{ Tagline: "Swarm inspection tool.", Synopsis: ` -ipfs swarm peers - List peers with open connections ipfs swarm addrs - List known addresses. Useful to debug. ipfs swarm connect
- Open connection to a given address ipfs swarm disconnect
- Close connection to a given address ipfs swarm filters - Manipulate filters addresses +ipfs swarm peers - List peers with open connections `, ShortDescription: ` 'ipfs swarm' is a tool to manipulate the network swarm. The swarm is the @@ -42,11 +42,11 @@ ipfs peers in the internet. `, }, Subcommands: map[string]*cmds.Command{ - "peers": swarmPeersCmd, "addrs": swarmAddrsCmd, "connect": swarmConnectCmd, "disconnect": swarmDisconnectCmd, "filters": swarmFiltersCmd, + "peers": swarmPeersCmd, }, } From 34971a3e11465d59a5ae36ea449a30e530e07116 Mon Sep 17 00:00:00 2001 From: Richard Littauer Date: Tue, 19 Apr 2016 12:19:45 -0400 Subject: [PATCH 2/2] Also fixed syntax for comment License: MIT Signed-off-by: Richard Littauer --- core/commands/swarm.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/commands/swarm.go b/core/commands/swarm.go index 38faaf0ba..a2cecb00e 100644 --- a/core/commands/swarm.go +++ b/core/commands/swarm.go @@ -29,7 +29,7 @@ var SwarmCmd = &cmds.Command{ Helptext: cmds.HelpText{ Tagline: "Swarm inspection tool.", Synopsis: ` -ipfs swarm addrs - List known addresses. Useful to debug. +ipfs swarm addrs - List known addresses. Useful for debugging. ipfs swarm connect
- Open connection to a given address ipfs swarm disconnect
- Close connection to a given address ipfs swarm filters - Manipulate filters addresses @@ -90,7 +90,7 @@ var swarmPeersCmd = &cmds.Command{ var swarmAddrsCmd = &cmds.Command{ Helptext: cmds.HelpText{ - Tagline: "List known addresses. Useful to debug.", + Tagline: "List known addresses. Useful for debugging.", ShortDescription: ` 'ipfs swarm addrs' lists all addresses this node is aware of. `,