Skip to content

Commit

Permalink
Added Default to bootstrap cmd
Browse files Browse the repository at this point in the history
Part of #2484.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
  • Loading branch information
RichardLitt committed May 14, 2016
1 parent 7732411 commit bffd648
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 bffd648

Please sign in to comment.