Skip to content

Commit

Permalink
Merge pull request #2661 from ipfs/feature/add-default-to-bootstrap
Browse files Browse the repository at this point in the history
Added Default to `bootstrap` cmd
  • Loading branch information
whyrusleeping committed May 14, 2016
2 parents 6cef4ff + bffd648 commit 28999f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/commands/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ in the bootstrap list).
},

Options: []cmds.Option{
cmds.BoolOption("default", "Add default bootstrap nodes."),
cmds.BoolOption("default", "Add default bootstrap nodes.").Default(false),
},

Run: func(req cmds.Request, res cmds.Response) {
Expand Down Expand Up @@ -132,7 +132,7 @@ var bootstrapRemoveCmd = &cmds.Command{
cmds.StringArg("peer", false, true, peerOptionDesc).EnableStdin(),
},
Options: []cmds.Option{
cmds.BoolOption("all", "Remove all bootstrap peers."),
cmds.BoolOption("all", "Remove all bootstrap peers.").Default(false),
},
Run: func(req cmds.Request, res cmds.Response) {
input, err := config.ParseBootstrapPeers(req.Arguments())
Expand Down

0 comments on commit 28999f7

Please sign in to comment.