From dd582daf95fc36605db4b7c85e746d74d5001431 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Wed, 15 Mar 2023 10:43:08 -0700 Subject: [PATCH] Document how to forward all events (#7) --- webhook/forward.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webhook/forward.go b/webhook/forward.go index 076d987..77a2796 100644 --- a/webhook/forward.go +++ b/webhook/forward.go @@ -85,7 +85,7 @@ func NewCmdForward(runF func(*hookOptions) error) *cobra.Command { return err }, } - cmd.Flags().StringSliceVarP(&opts.EventTypes, "events", "E", []string{}, "(required) Names of the event types to forward. Event types can be separated by commas (e.g. `issues,pull_request`) or passed as multiple arguments (e.g. `--events issues --events pull_request`.") + cmd.Flags().StringSliceVarP(&opts.EventTypes, "events", "E", []string{}, "(required) Names of the event types to forward. Event types can be separated by commas (e.g. `issues,pull_request`) or passed as multiple arguments (e.g. `--events issues --events pull_request`). Use `*` to forward all events.") cmd.Flags().StringVarP(&opts.Repo, "repo", "R", "", "Name of the repo where the webhook is installed") cmd.Flags().StringVarP(&opts.GitHubHost, "github-host", "H", "", "(optional) Host for the GitHub API, default: api.github.com") cmd.Flags().StringVarP(&opts.URL, "url", "U", "", "(optional) Local address where the server which will receive webhooks is running")