Skip to content

Commit

Permalink
adding -y
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislovecnm committed Nov 4, 2017
1 parent 88984d4 commit 5a73976
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/kops/create_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ func NewCmdCreateCluster(f *util.Factory, out io.Writer) *cobra.Command {
},
}

cmd.Flags().BoolVar(&options.Yes, "yes", options.Yes, "Specify --yes to immediately create the cluster")
cmd.Flags().BoolVarP(&options.Yes, "yes", "y", options.Yes, "Specify --yes to immediately create the cluster")
cmd.Flags().StringVar(&options.Target, "target", options.Target, "Target - direct, terraform, cloudformation")
cmd.Flags().StringVar(&options.Models, "model", options.Models, "Models to apply (separate multiple models with commas)")

Expand Down
2 changes: 1 addition & 1 deletion docs/cli/kops_create_cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ kops create cluster
--target string Target - direct, terraform, cloudformation (default "direct")
-t, --topology string Controls network topology for the cluster. public|private. Default is 'public'. (default "public")
--vpc string Set to use a shared VPC
--yes Specify --yes to immediately create the cluster
-y, --yes Specify --yes to immediately create the cluster
--zones stringSlice Zones in which to run the cluster
```

Expand Down

0 comments on commit 5a73976

Please sign in to comment.