-
Greetings, I am currently working with clap-rs for command line argument parsing in a Rust project. During implementation, I've encountered a behavior regarding the default Further investigation through debugging outputs the following: [src/main.rs:23:5] args_parsed = Err(
ErrorInner {
kind: DisplayHelp, This implementation strategy strikes me as unconventional. Typically, one would expect the invocation of a Could someone please provide insight or clarification on this design choice? Is there a specific rationale behind mapping the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
To help with this, we do offer: |
Beta Was this translation helpful? Give feedback.
help
/--help
needs to short-circuit processing within both clap and the users application. This is done by expressing it as an error.To help with this, we do offer: