From 64769081d972197f4b2315869058aaf2db498e5c Mon Sep 17 00:00:00 2001 From: Pasha Sviderski Date: Wed, 27 Aug 2025 22:25:32 +1000 Subject: [PATCH] fix: format for --publish flag --- cmd/uncloud/service/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/uncloud/service/run.go b/cmd/uncloud/service/run.go index 3ee5f6d4..a53e00eb 100644 --- a/cmd/uncloud/service/run.go +++ b/cmd/uncloud/service/run.go @@ -86,7 +86,7 @@ func NewRunCommand() *cobra.Command { "Give extended privileges to service containers. This is a security risk and should be used with caution.") cmd.Flags().StringSliceVarP(&opts.publish, "publish", "p", nil, "Publish a service port to make it accessible outside the cluster. Can be specified multiple times.\n"+ - "Format: [hostname:][load_balancer_port:]container_port[/protocol] or [host_ip:]:host_port:container_port[/protocol]@host\n"+ + "Format: [hostname:]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\n"+ "and a cluster domain is reserved, service-name.cluster-domain will be used as the hostname.\n"+ "Examples:\n"+