Skip to content

Commit

Permalink
Adding ws and wss in helper text (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdewinne authored Sep 4, 2024
1 parent c36961c commit 600ad4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/cmd/cluster_port.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ func (r *runners) InitClusterPort(parent *cobra.Command) *cobra.Command {
cmd := &cobra.Command{
Use: "port",
SilenceUsage: true,
Hidden: true, // this feature is not fully implemented and controlled behind a feature toggle in the api until ready
Hidden: false,
}
parent.AddCommand(cmd)

Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/cluster_port_expose.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (r *runners) InitClusterPortExpose(parent *cobra.Command) *cobra.Command {
if err != nil {
panic(err)
}
cmd.Flags().StringSliceVar(&r.args.clusterExposePortProtocols, "protocol", []string{"http", "https"}, `Protocol to expose (valid values are "http" and "https")`)
cmd.Flags().StringSliceVar(&r.args.clusterExposePortProtocols, "protocol", []string{"http", "https"}, `Protocol to expose (valid values are "http", "https", "ws" and "wss")`)
cmd.Flags().BoolVar(&r.args.clusterExposePortIsWildcard, "wildcard", false, "Create a wildcard DNS entry and TLS certificate for this port")
cmd.Flags().StringVar(&r.outputFormat, "output", "table", "The output format to use. One of: json|table|wide (default: table)")

Expand Down

0 comments on commit 600ad4f

Please sign in to comment.