From d0a865e85ac53135c587ffed67cd7a7659ab49b4 Mon Sep 17 00:00:00 2001
From: lilly
Date: Thu, 23 Jul 2026 14:13:30 +0200
Subject: [PATCH] correct open/close wording which was incosistent
---
ssh-cli/src/main.rs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ssh-cli/src/main.rs b/ssh-cli/src/main.rs
index 5257b49..b0b2904 100644
--- a/ssh-cli/src/main.rs
+++ b/ssh-cli/src/main.rs
@@ -52,7 +52,7 @@ async fn main() -> eyre::Result<()> {
" Also takes an additional parameter of \"wait\" or \"nowait\"which dictates"
);
println!(" whether the CLI exit as soon as the lock operation is queued or whether");
- println!(" it waits until the lock status changes to open.");
+ println!(" it waits until the lock status changes to closed.");
println!(" Defaults to \"wait\" if not specified.");
println!();
println!(" unlock [wait|nowait] -> Unlocks the lock identified with .");
@@ -60,7 +60,7 @@ async fn main() -> eyre::Result<()> {
" Also takes an additional parameter of \"wait\" or \"nowait\"which dictates"
);
println!(" whether the CLI exit as soon as the lock operation is queued or whether");
- println!(" it waits until the lock status changes to closed.");
+ println!(" it waits until the lock status changes to open.");
println!(" Defaults to \"wait\" if not specified.");
exit(0);
}
@@ -90,7 +90,7 @@ async fn main() -> eyre::Result<()> {
let api = ApiClient::new_from_env()?;
let lock = find_lock(&api, &lock_name).await?;
- println!("dooris at your service, locking {} now…", lock.name);
+ println!("dooris at your service, unlocking {} now…", lock.name);
api.operate_lock(&lock.id, DesiredLockState::OPEN).await?;
if wait_until_done {