Skip to content

Commit

Permalink
Merge pull request #3320 from jasonvigil/fix-controller-doc
Browse files Browse the repository at this point in the history
fix: Update help text for controller-builder command
  • Loading branch information
google-oss-prow[bot] authored Dec 5, 2024
2 parents 6f0f51a + d73f2b8 commit 7d2b4a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type GenerateControllerOptions struct {
}

func (o *GenerateControllerOptions) BindFlags(cmd *cobra.Command) {
cmd.Flags().StringVarP(&o.ProtoName, "proto-resource", "p", "", "the GCP resource proto name. It should match the name in the proto apis. i.e. For resource google.storage.v1.bucket, the `--proto-resource` should be `bucket`. If `--kind` is not given, the `--proto-resource` value will also be used as the kind name with a capital letter `Storage`.")
cmd.Flags().StringVarP(&o.ProtoName, "proto-resource", "p", "", "the GCP resource proto name. It should match the name in the proto apis. i.e. For resource google.storage.v1.bucket, the `--proto-resource` should be `Bucket`.")
cmd.Flags().StringVarP(&o.Kind, "kind", "k", "", "the KCC resource Kind. requires `--proto-resource`.")
}

Expand Down

0 comments on commit 7d2b4a7

Please sign in to comment.