diff --git a/cmd/kops/create_cluster.go b/cmd/kops/create_cluster.go index 1035fd5339..ed56418277 100644 --- a/cmd/kops/create_cluster.go +++ b/cmd/kops/create_cluster.go @@ -331,7 +331,7 @@ func NewCmdCreateCluster(f *util.Factory, out io.Writer) *cobra.Command { // DryRun mode that will print YAML or JSON cmd.Flags().BoolVar(&options.DryRun, "dry-run", options.DryRun, "If true, only print the object that would be sent, without sending it. This flag can be used to create a cluster YAML or JSON manifest.") - cmd.Flags().StringVarP(&options.Output, "output", "o", options.Output, "Ouput format. One of json|yaml. Used with the --dry-run flag.") + cmd.Flags().StringVarP(&options.Output, "output", "o", options.Output, "Output format. One of json|yaml. Used with the --dry-run flag.") if featureflag.SpecOverrideFlag.Enabled() { cmd.Flags().StringSliceVar(&options.Overrides, "override", options.Overrides, "Directly configure values in the spec") diff --git a/cmd/kops/create_ig.go b/cmd/kops/create_ig.go index 110271fb12..685654cb14 100644 --- a/cmd/kops/create_ig.go +++ b/cmd/kops/create_ig.go @@ -102,7 +102,7 @@ func NewCmdCreateInstanceGroup(f *util.Factory, out io.Writer) *cobra.Command { cmd.Flags().StringSliceVar(&options.Subnets, "subnet", options.Subnets, "Subnet in which to create instance group. One of Availability Zone like eu-west-1a or a comma-separated list of multiple Availability Zones.") // DryRun mode that will print YAML or JSON cmd.Flags().BoolVar(&options.DryRun, "dry-run", options.DryRun, "If true, only print the object that would be sent, without sending it. This flag can be used to create a cluster YAML or JSON manifest.") - cmd.Flags().StringVarP(&options.Output, "output", "o", options.Output, "Ouput format. One of json|yaml") + cmd.Flags().StringVarP(&options.Output, "output", "o", options.Output, "Output format. One of json|yaml") cmd.Flags().BoolVar(&options.Edit, "edit", options.Edit, "If true, an editor will be opened to edit default values.") return cmd diff --git a/cmd/kops/validate_cluster.go b/cmd/kops/validate_cluster.go index a93023b5e9..cdedacb2ba 100644 --- a/cmd/kops/validate_cluster.go +++ b/cmd/kops/validate_cluster.go @@ -74,7 +74,7 @@ func NewCmdValidateCluster(f *util.Factory, out io.Writer) *cobra.Command { }, } - cmd.Flags().StringVarP(&options.output, "output", "o", options.output, "Ouput format. One of json|yaml|table.") + cmd.Flags().StringVarP(&options.output, "output", "o", options.output, "Output format. One of json|yaml|table.") return cmd }