chore: fix the examples for 'uc image push' command after changing default

This commit is contained in:
Pasha Sviderski
2025-11-12 09:25:19 +10:00
parent e33fd40033
commit 497b9483f6
+1 -4
View File
@@ -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),