Skip to main content

report_clap_error

Function report_clap_error 

Source
pub fn report_clap_error(e: &Error) -> u8
Expand description

Write a clap error to the appropriate stream and return the matching sysexits code. Public so commands that hand-roll their own clap::Command (rather than using the derive form) can reuse the mapping.