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 {