From be2a26e626dee1cd34b766cf4acb4ad3266b3813 Mon Sep 17 00:00:00 2001 From: Pavel Sviderski Date: Thu, 19 Dec 2024 14:19:11 +1000 Subject: [PATCH] remove example from run command --- cmd/uncloud/service/run.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cmd/uncloud/service/run.go b/cmd/uncloud/service/run.go index eb74f393..2b62a6b7 100644 --- a/cmd/uncloud/service/run.go +++ b/cmd/uncloud/service/run.go @@ -54,10 +54,9 @@ func NewRunCommand() *cobra.Command { "Format: [hostname:][load_balancer_port:]container_port[/protocol] or [host_ip:]:host_port:container_port[/protocol]@host\n"+ "Supported protocols: tcp, udp, http, https (default is tcp). If a hostname for http(s) port is not specified, a random hostname is generated.\n"+ "Examples:\n"+ - " -p 8080/https Publish port 8080 as HTTPS via load balancer with random hostname\n"+ - " -p app.example.com:8080 Publish port 8080 as HTTPS via load balancer with custom hostname\n"+ - " -p 9000:8080 Publish port 8080 as TCP port 9000 via load balancer\n"+ - " -p 53:5353/udp@host Bind UDP port 5353 to host port 53") + " -p app.example.com:8080/https Publish port 8080 as HTTPS via load balancer with custom hostname\n"+ + " -p 9000:8080 Publish port 8080 as TCP port 9000 via load balancer\n"+ + " -p 53:5353/udp@host Bind UDP port 5353 to host port 53") cmd.Flags().StringVarP( &opts.cluster, "cluster", "c", "",