Skip to main content

emit_argument_parsing_error

Function emit_argument_parsing_error 

Source
pub fn emit_argument_parsing_error(
    command: Option<&str>,
    message: String,
    exit_code: i32,
)
Expand description

Emit a synthetic argument-parsing error envelope (clap failures).

Used by main.rs when Cli::try_parse() returns an error other than help/version display.