diff options
author | Alex Auvolat <alex@adnab.me> | 2022-12-13 12:24:30 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-12-13 12:24:30 +0100 |
commit | 9d82196945f751c825621573657cfead992b356b (patch) | |
tree | 1482c495ca0761d7c988ce9765e044d266569229 /src/garage/cli/structs.rs | |
parent | a51e8d94c61033783ad8b0dfa2b066e7a59654c2 (diff) | |
download | garage-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.rs | 3 |
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 { |