Merge pull request #2336 from justinsb/channels_f_alias

channels: accept -f and --files
This commit is contained in:
Chris Love 2017-04-19 05:09:55 -06:00 committed by GitHub
commit 3fe6e04c7a
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().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
}