From 497b9483f65b16f42e1774a2472ce4fb4ca071a2 Mon Sep 17 00:00:00 2001 From: Pasha Sviderski Date: Wed, 12 Nov 2025 09:25:19 +1000 Subject: [PATCH] chore: fix the examples for 'uc image push' command after changing default --- cmd/uncloud/image/push.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cmd/uncloud/image/push.go b/cmd/uncloud/image/push.go index 9446677f..773c72cd 100644 --- a/cmd/uncloud/image/push.go +++ b/cmd/uncloud/image/push.go @@ -26,7 +26,7 @@ func NewPushCommand() *cobra.Command { Short: "Upload a local Docker image to the cluster.", Long: `Upload a local Docker image to the cluster transferring only the missing layers. The image is uploaded to the machine which CLI is connected to (default) or the specified machine(s).`, - Example: ` # Push image to the machine the CLI is connected to. + Example: ` # Push image to all machines in the cluster. uc image push myapp:latest # Push image to specific machine. @@ -35,9 +35,6 @@ The image is uploaded to the machine which CLI is connected to (default) or the # Push image to multiple machines. uc image push myapp:latest -m machine1,machine2,machine3 - # Push image to all machines in the cluster. - uc image push myapp:latest -m all - # Push a specific platform of a multi-platform image. uc image push myapp:latest --platform linux/amd64`, Args: cobra.ExactArgs(1),