Skip to content

Commit

Permalink
--buildpack help improvements
Browse files Browse the repository at this point in the history
* Inform users that they can pass a directory
* Inform users that they can pass multiple --buildpack flags

Signed-off-by: Emily Casey <ecasey@pivotal.io>
  • Loading branch information
ekcasey committed Oct 25, 2018
1 parent c52bcc6 commit 4e05716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/pack/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func buildCommand() *cobra.Command {
buildCommand.Flags().StringVar(&buildFlags.RunImage, "run-image", "", "run image")
buildCommand.Flags().BoolVar(&buildFlags.Publish, "publish", false, "publish to registry")
buildCommand.Flags().BoolVar(&buildFlags.NoPull, "no-pull", false, "don't pull images before use")
buildCommand.Flags().StringArrayVar(&buildFlags.Buildpacks, "buildpack", []string{}, "buildpack ID to skip detection")
buildCommand.Flags().StringArrayVar(&buildFlags.Buildpacks, "buildpack", []string{}, "buildpack ID or host directory path, \n\t\t repeat for each buildpack in order")
return buildCommand
}

Expand Down

0 comments on commit 4e05716

Please sign in to comment.