From bffd64893503f5e7b960794b83ecad703c8c1115 Mon Sep 17 00:00:00 2001 From: Richard Littauer Date: Wed, 11 May 2016 16:00:47 -0400 Subject: [PATCH] Added Default to `bootstrap` cmd Part of #2484. License: MIT Signed-off-by: Richard Littauer --- core/commands/bootstrap.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/commands/bootstrap.go b/core/commands/bootstrap.go index 9a084db6c89..4263885df3e 100644 --- a/core/commands/bootstrap.go +++ b/core/commands/bootstrap.go @@ -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) { @@ -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())