aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli/structs.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-12-13 11:44:11 +0100
committerAlex Auvolat <alex@adnab.me>2022-12-13 11:44:11 +0100
commita51e8d94c61033783ad8b0dfa2b066e7a59654c2 (patch)
treedbc7d55e5737639efb491a4dae96ad6ba4c6115b /src/garage/cli/structs.rs
parentde9d6cddf709e686ada3d1e71de7b31d7704b8b5 (diff)
downloadgarage-a51e8d94c61033783ad8b0dfa2b066e7a59654c2.tar.gz
garage-a51e8d94c61033783ad8b0dfa2b066e7a59654c2.zip
cli: rename resync-n-workers into resync-worker-count
Diffstat (limited to 'src/garage/cli/structs.rs')
-rw-r--r--src/garage/cli/structs.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/garage/cli/structs.rs b/src/garage/cli/structs.rs
index cb085813..59e6e34f 100644
--- a/src/garage/cli/structs.rs
+++ b/src/garage/cli/structs.rs
@@ -540,8 +540,8 @@ pub enum WorkerSetCmd {
#[structopt(name = "scrub-tranquility", version = garage_version())]
ScrubTranquility { tranquility: u32 },
/// Set number of concurrent block resync workers
- #[structopt(name = "resync-n-workers", version = garage_version())]
- ResyncNWorkers { n_workers: usize },
+ #[structopt(name = "resync-worker-count", version = garage_version())]
+ ResyncWorkerCount { worker_count: usize },
/// Set tranquility of block resync operations
#[structopt(name = "resync-tranquility", version = garage_version())]
ResyncTranquility { tranquility: u32 },