From fc710ec391002de47cd1eb8c1df289454fe719cd Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Fri, 24 Oct 2025 18:47:34 -0700 Subject: [PATCH] fix(options): --help should exit with code zero --- src/options/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options/parser.rs b/src/options/parser.rs index 23b50ad..69250d8 100644 --- a/src/options/parser.rs +++ b/src/options/parser.rs @@ -131,7 +131,7 @@ pub trait OptionsRepresentable { ); } // Exit because the help has been displayed. - std::process::exit(1); + std::process::exit(0); } // Insert the option and the value into the map.