Skip to content

Commit

Permalink
update help message for scale command
Browse files Browse the repository at this point in the history
Signed-off-by: Shanicky Chen <[email protected]>
  • Loading branch information
shanicky committed Jan 3, 2024
1 parent 5417d18 commit 2755749
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/ctl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,21 +290,21 @@ enum TableCommands {

#[derive(clap::Args, Debug, Clone)]
pub struct ScaleHorizonCommands {
/// The worker that needs to be excluded during scheduling, worker_id and worker_host are both
/// The worker that needs to be excluded during scheduling, worker_id and worker_host:worker_port are both
/// supported
#[clap(
long,
value_delimiter = ',',
value_name = "worker_id or worker_host, ..."
value_name = "worker_id or worker_host:worker_port, ..."
)]
exclude_workers: Option<Vec<String>>,

/// The worker that needs to be included during scheduling, worker_id and worker_host are both
/// The worker that needs to be included during scheduling, worker_id and worker_host:worker_port are both
/// supported
#[clap(
long,
value_delimiter = ',',
value_name = "all or worker_id or worker_host, ..."
value_name = "all or worker_id or worker_host:worker_port, ..."
)]
include_workers: Option<Vec<String>>,

Expand Down Expand Up @@ -344,13 +344,13 @@ pub struct ScaleVerticalCommands {
#[command(flatten)]
common: ScaleCommon,

/// The worker that needs to be scheduled, worker_id and worker_host are both
/// The worker that needs to be scheduled, worker_id and worker_host:worker_port are both
/// supported
#[clap(
long,
required = true,
value_delimiter = ',',
value_name = "all or worker_id or worker_host, ..."
value_name = "all or worker_id or worker_host:worker_port, ..."
)]
workers: Option<Vec<String>>,

Expand Down Expand Up @@ -465,12 +465,12 @@ enum MetaCommands {

/// Unregister workers from the cluster
UnregisterWorkers {
/// The workers that needs to be unregistered, worker_id and worker_host are both supported
/// The workers that needs to be unregistered, worker_id and worker_host:worker_port are both supported
#[clap(
long,
required = true,
value_delimiter = ',',
value_name = "worker_id or worker_host, ..."
value_name = "worker_id or worker_host:worker_port, ..."
)]
workers: Vec<String>,

Expand Down

0 comments on commit 2755749

Please sign in to comment.