mirror of https://github.com/kubernetes/kops.git
channels: accept -f and --files
This commit is contained in:
parent
214f841cb8
commit
799142b3fc
|
@ -45,7 +45,7 @@ func NewCmdApplyChannel(f Factory, out io.Writer) *cobra.Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd.Flags().BoolVar(&options.Yes, "yes", false, "Apply update")
|
cmd.Flags().BoolVar(&options.Yes, "yes", false, "Apply update")
|
||||||
cmd.Flags().StringSliceVar(&options.Files, "f", []string{}, "Apply from a local file")
|
cmd.Flags().StringSliceVarP(&options.Files, "filename", "f", []string{}, "Apply from a local file")
|
||||||
|
|
||||||
return cmd
|
return cmd
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue