From 091a1d0ab975db9d05987b5add63d553e4a12fa2 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Tue, 29 Apr 2025 17:58:57 +1000 Subject: [PATCH] fix(headless-client): don't print error for `-h` (#8925) Resolves: #8897 --- rust/headless-client/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/headless-client/src/main.rs b/rust/headless-client/src/main.rs index 913519aaf..a2add9c32 100644 --- a/rust/headless-client/src/main.rs +++ b/rust/headless-client/src/main.rs @@ -118,7 +118,7 @@ fn main() -> Result<()> { .install_default() .expect("Calling `install_default` only once per process should always succeed"); - let cli = Cli::try_parse()?; + let cli = Cli::parse(); // Modifying the environment of a running process is unsafe. If any other // thread is reading or writing the environment, something bad can happen.