diff --git a/cli/config/init.go b/cli/config/init.go index 7d7efbc9eed..d85eb42edb9 100644 --- a/cli/config/init.go +++ b/cli/config/init.go @@ -30,13 +30,11 @@ import ( func initInitCommand() *cobra.Command { initCommand := &cobra.Command{ Use: "init", - Short: "Initializes a new config file into the default location.", - Long: "Initializes a new config file into the default location ($EXE_DIR/cli-config.yml).", + Short: "Initializes a new configuration file into the default location.", + Long: "Initializes a new configuration file into the default location ($EXE_DIR/cli-config.yml).", Example: "" + - " # Creates a config file by asking questions to the user into the default location.\n" + - " " + os.Args[0] + " config init\n\n" + - " # Creates a config file with default configuration into default location.\n" + - " " + os.Args[0] + " config init --default\n", + " # Creates a default configuration file into the default location.\n" + + " " + os.Args[0] + " config init", Args: cobra.NoArgs, Run: runInitCommand, } @@ -46,7 +44,6 @@ func initInitCommand() *cobra.Command { } var initFlags struct { - _default bool // If false, ask questions to the user about setting configuration properties, otherwise use default configuration. location string // The custom location of the file to create. } diff --git a/go.mod b/go.mod index 8427598d575..b0ae9aa7f2e 100644 --- a/go.mod +++ b/go.mod @@ -43,7 +43,6 @@ require ( go.bug.st/serial.v1 v0.0.0-20180827123349-5f7892a7bb45 golang.org/x/net v0.0.0-20190311183353-d8887717615a golang.org/x/text v0.3.0 - google.golang.org/appengine v1.4.0 // indirect google.golang.org/genproto v0.0.0-20190327125643-d831d65fe17d // indirect google.golang.org/grpc v1.21.1 gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce // indirect