aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli/structs.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-12-13 12:24:30 +0100
committerAlex Auvolat <alex@adnab.me>2022-12-13 12:24:30 +0100
commit9d82196945f751c825621573657cfead992b356b (patch)
tree1482c495ca0761d7c988ce9765e044d266569229 /src/garage/cli/structs.rs
parenta51e8d94c61033783ad8b0dfa2b066e7a59654c2 (diff)
downloadgarage-9d82196945f751c825621573657cfead992b356b.tar.gz
garage-9d82196945f751c825621573657cfead992b356b.zip
cli: new worker info command
Diffstat (limited to 'src/garage/cli/structs.rs')
-rw-r--r--src/garage/cli/structs.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/garage/cli/structs.rs b/src/garage/cli/structs.rs
index 59e6e34f..9334564b 100644
--- a/src/garage/cli/structs.rs
+++ b/src/garage/cli/structs.rs
@@ -516,6 +516,9 @@ pub enum WorkerCmd {
#[structopt(flatten)]
opt: WorkerListOpt,
},
+ /// Get detailed information about a worker
+ #[structopt(name = "info", version = garage_version())]
+ Info { tid: usize },
/// Set worker parameter
#[structopt(name = "set", version = garage_version())]
Set {