Skip to content

Commit 06455f4

Browse files
authored
fix: default for --builder flag
Signed-off-by: Matej Vasek <mvasek@redhat.com>
1 parent 12b28f9 commit 06455f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/build.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
func init() {
1515
root.AddCommand(buildCmd)
16-
buildCmd.Flags().StringP("builder", "b", "default", "Buildpack builder, either an as a an image name or a mapping name as defined in func.yaml")
16+
buildCmd.Flags().StringP("builder", "b", "", "Buildpack builder, either an as a an image name or a mapping name.\nSpecified value is stored in func.yaml for subsequent builds.")
1717
buildCmd.Flags().BoolP("confirm", "c", false, "Prompt to confirm all configuration options (Env: $FUNC_CONFIRM)")
1818
buildCmd.Flags().StringP("image", "i", "", "Full image name in the orm [registry]/[namespace]/[name]:[tag] (optional). This option takes precedence over --registry (Env: $FUNC_IMAGE")
1919
buildCmd.Flags().StringP("path", "p", cwd(), "Path to the project directory (Env: $FUNC_PATH)")

0 commit comments

Comments
 (0)