Skip to content

Commit 6bbfe3e

Browse files
committed
chore: add source and connection to usage
1 parent 36a1be6 commit 6bbfe3e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pkg/cmd/listen.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,12 @@ func newListenCmd() *listenCmd {
7676
}
7777
lc.cmd.Flags().BoolVar(&lc.noWSS, "no-wss", false, "Force unencrypted ws:// protocol instead of wss://")
7878

79-
lc.cmd.SetUsageTemplate(strings.Replace(lc.cmd.UsageTemplate(), "{{.UseLine}}", "hookdeck listen [port or forwarding URL] [flags]", 1))
79+
lc.cmd.SetUsageTemplate(
80+
strings.Replace(
81+
lc.cmd.UsageTemplate(),
82+
"{{.UseLine}}",
83+
"hookdeck listen [port or forwarding URL] [source] [connection] [flags]", 1),
84+
)
8085

8186
return lc
8287
}

0 commit comments

Comments
 (0)