fix(headless-client): don't print error for -h (#8925)

Resolves: #8897
This commit is contained in:
Thomas Eizinger
2025-04-29 17:58:57 +10:00
committed by GitHub
parent 66b7ca6f7f
commit 091a1d0ab9

View File

@@ -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.