subcmd2: added synopsis to bootstrap
Juan Batiz-Benet committed
Nov 13, 2014 at 00:41 UTC
0f7757c6fa52e30d9b66537234fc5eea13358d74
1 file changed
+7
-1
core/commands2/bootstrap.go
+7
-1
@@ -21,7 +21,13 @@ var peerOptionDesc = "A peer to add to the bootstrap list (in the format '<multi
21
var bootstrapCmd = &cmds.Command{
22
Helptext: cmds.HelpText{
23
Tagline: "Show or edit the list of bootstrap peers",
24
- ShortDescription: `Running 'ipfs bootstrap' with no arguments will run 'ipfs bootstrap list'.
24
+ Synopsis: `
25
+ipfs bootstrap list - Show peers in the bootstrap list
26
+ipfs bootstrap add <peer>... - Add peers to the bootstrap list
27
+ipfs bootstrap remove <peer>... - Removes peers from the bootstrap list
28
+`,
29
+ ShortDescription: `
30
+Running 'ipfs bootstrap' with no arguments will run 'ipfs bootstrap list'.
31
` + bootstrapSecurityWarning,
32
},
33