From 9b3f0c17ea62c31e17682a7f9ae7fc6292bbd3a8 Mon Sep 17 00:00:00 2001 From: Peter Rifel Date: Mon, 8 Jan 2018 12:10:03 -0800 Subject: [PATCH] Fix typo in --target description --- cmd/kops/create_cluster.go | 2 +- docs/cli/kops_create_cluster.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/kops/create_cluster.go b/cmd/kops/create_cluster.go index 67b0f79c4f..1acf6a5b0c 100644 --- a/cmd/kops/create_cluster.go +++ b/cmd/kops/create_cluster.go @@ -246,7 +246,7 @@ func NewCmdCreateCluster(f *util.Factory, out io.Writer) *cobra.Command { } cmd.Flags().BoolVarP(&options.Yes, "yes", "y", options.Yes, "Specify --yes to immediately create the cluster") - cmd.Flags().StringVar(&options.Target, "target", options.Target, fmt.Sprintf("Valid targets: %s, %s, %s. Set this flag to %s if you want kops to generate terraform", cloudup.TargetDirect, cloudup.TargetTerraform, cloudup.TargetDirect, cloudup.TargetTerraform)) + cmd.Flags().StringVar(&options.Target, "target", options.Target, fmt.Sprintf("Valid targets: %s, %s, %s. Set this flag to %s if you want kops to generate terraform", cloudup.TargetDirect, cloudup.TargetTerraform, cloudup.TargetCloudformation, cloudup.TargetTerraform)) cmd.Flags().StringVar(&options.Models, "model", options.Models, "Models to apply (separate multiple models with commas)") // Configuration / state location diff --git a/docs/cli/kops_create_cluster.md b/docs/cli/kops_create_cluster.md index c2945fce5f..af9dcc3809 100644 --- a/docs/cli/kops_create_cluster.md +++ b/docs/cli/kops_create_cluster.md @@ -100,7 +100,7 @@ kops create cluster --ssh-access stringSlice Restrict SSH access to this CIDR. If not set, access will not be restricted by IP. (default [0.0.0.0/0]) --ssh-public-key string SSH public key to use (default "~/.ssh/id_rsa.pub") --subnets stringSlice Set to use shared subnets - --target string Valid targets: direct, terraform, direct. Set this flag to terraform if you want kops to generate terraform (default "direct") + --target string Valid targets: direct, terraform, cloudformation. Set this flag to terraform if you want kops to generate terraform (default "direct") -t, --topology string Controls network topology for the cluster. public|private. Default is 'public'. (default "public") --utility-subnets stringSlice Set to use shared utility subnets --vpc string Set to use a shared VPC