Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: fix command line examples #145

Merged
merged 1 commit into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading