diff --git a/src/ctl/src/lib.rs b/src/ctl/src/lib.rs index 97636cffea216..004b36302cf3b 100644 --- a/src/ctl/src/lib.rs +++ b/src/ctl/src/lib.rs @@ -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>, - /// 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>, @@ -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>, @@ -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,