Skip to content

Commit

Permalink
cli: fix command line examples (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
lhpqaq authored Jul 26, 2024
1 parent a1ecbf5 commit a587abc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cli/test/cluster/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
`,
}

Expand Down
8 changes: 4 additions & 4 deletions cli/test/workload/upstreams/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
`,
}

Expand Down

0 comments on commit a587abc

Please sign in to comment.