pub trait UClapError<T> {
// Required method
fn with_exit_code(self, code: i32) -> T;
}Expand description
Extension trait for clap::Error to adjust the exit code.
Required Methods§
Sourcefn with_exit_code(self, code: i32) -> T
fn with_exit_code(self, code: i32) -> T
Set the exit code for the program if uumain returns Ok(()).