1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-15 07:58:15 +08:00

Merge pull request from ipfs/feature/alphabetize-swarm

Alphabetized swarm subcmds
This commit is contained in:
Jeromy Johnson
2016-04-19 16:12:57 -07:00

@ -29,11 +29,11 @@ var SwarmCmd = &cmds.Command{
Helptext: cmds.HelpText{ Helptext: cmds.HelpText{
Tagline: "Swarm inspection tool.", Tagline: "Swarm inspection tool.",
Synopsis: ` Synopsis: `
ipfs swarm peers - List peers with open connections ipfs swarm addrs - List known addresses. Useful for debugging.
ipfs swarm addrs - List known addresses. Useful to debug.
ipfs swarm connect <address> - Open connection to a given address ipfs swarm connect <address> - Open connection to a given address
ipfs swarm disconnect <address> - Close connection to a given address ipfs swarm disconnect <address> - Close connection to a given address
ipfs swarm filters - Manipulate filters addresses ipfs swarm filters - Manipulate filters addresses
ipfs swarm peers - List peers with open connections
`, `,
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
@ -42,11 +42,11 @@ ipfs peers in the internet.
`, `,
}, },
Subcommands: map[string]*cmds.Command{ Subcommands: map[string]*cmds.Command{
"peers": swarmPeersCmd,
"addrs": swarmAddrsCmd, "addrs": swarmAddrsCmd,
"connect": swarmConnectCmd, "connect": swarmConnectCmd,
"disconnect": swarmDisconnectCmd, "disconnect": swarmDisconnectCmd,
"filters": swarmFiltersCmd, "filters": swarmFiltersCmd,
"peers": swarmPeersCmd,
}, },
} }
@ -90,7 +90,7 @@ var swarmPeersCmd = &cmds.Command{
var swarmAddrsCmd = &cmds.Command{ var swarmAddrsCmd = &cmds.Command{
Helptext: cmds.HelpText{ Helptext: cmds.HelpText{
Tagline: "List known addresses. Useful to debug.", Tagline: "List known addresses. Useful for debugging.",
ShortDescription: ` ShortDescription: `
'ipfs swarm addrs' lists all addresses this node is aware of. 'ipfs swarm addrs' lists all addresses this node is aware of.
`, `,