channels: accept -f and --files

This commit is contained in:
Justin Santa Barbara 2017-04-07 00:13:16 -04:00
parent 214f841cb8
commit 799142b3fc
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }