From a587abc5208ab9de156060d6c9fa39a728e6b8f9 Mon Sep 17 00:00:00 2001 From: haopeng <63844184+lhpqaq@users.noreply.github.com> Date: Sat, 27 Jul 2024 02:07:06 +0800 Subject: [PATCH] cli: fix command line examples (#145) --- cli/test/cluster/command.go | 4 ++-- cli/test/workload/upstreams/command.go | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cli/test/cluster/command.go b/cli/test/cluster/command.go index 96a30fc..15bee61 100644 --- a/cli/test/cluster/command.go +++ b/cli/test/cluster/command.go @@ -39,10 +39,10 @@ signal to the process. Examples: # Start a cluster of 5 nodes. - piko workload cluster --nodes 5 + piko test cluster --nodes 5 # Start a cluster and replace one node every 10 seconds. - piko workload cluster --churn.interval 10s + piko test cluster --churn.interval 10s `, } diff --git a/cli/test/workload/upstreams/command.go b/cli/test/workload/upstreams/command.go index 1f2b0b3..0311538 100644 --- a/cli/test/workload/upstreams/command.go +++ b/cli/test/workload/upstreams/command.go @@ -35,17 +35,17 @@ upstreams. Examples: # Start 1000 HTTP upstream servers with 100 endpoints. - piko workload upstreams + piko test workload upstreams # Start 1000 TCP upstreams. - piko workload upstreams --protocol tcp + piko test workload upstreams --protocol tcp # Start 5000 HTTP upstream servers with 5000 endpoints (so each upstream has a # unique endpoint ID). - piko workload upstreams --upstreams 5000 --endpoints 5000 + piko test workload upstreams --upstreams 5000 --endpoints 5000 # Configure the Piko server address. - piko workload upstreams --server.url https://piko.example.com:8001 + piko test workload upstreams --server.url https://piko.example.com:8001 `, }